About mapped

forum_thread

connect with server

how to connect the data base on a remote server and share odbc in object db #1 2011-03-03 21:33 how to connect the data base on a remote server and share odbc in object db ...

 
forum_thread

Working with a cleared cache

I'm working on trying to improve the performance of our database processing class and I'm attempting to keep the L1 cache within the PersistenceManager cleared in an effort to reduce its memory footprint. The code snippet below is part of a Callable task that is run repeatedly with a given list of commands. When I run the code as written I start getting the stack traces that are listed.  However, if I comment out the calls to makeTransactionalAll() and evictAll() everything works. #1 2011-08-18 15:42 I'm working on trying to improve the performance of our database processing class and I'm attempting to k ...

 
forum_thread

Problem with bidirectional link

(I had raised this issue in the past and have finally had time to come back to it and strip down the classes to a minimum). The problem seems to lie in having bidirectional links (viz, I have @OneToMany Map<String, Entry> children and @ManyToOne Entry parent in my classes. I've attached the offending classes. If I add an entry to the children I get an error. I'm wondering if it's a question of multiple references to the same instance of a class? It's hard to tell with the opaque code of ObjectDB. #1 2012-05-23 20:25 (I had raised this issue in the past and have finally had time to come back to it and strip down the classes to a ...

 
api-jpa

Enumerated.value

(Optional) The type used in mapping an enum type.(Annotation Element of javax.persistence.Enumerated)

 
api-jpa

javax.persistence.PostPersist

Is used to specify callback methods for the corresponding lifecycle event.(Annotation of JPA)

 
api-jdo

removeUserObject(key)

Remove the specified key and its value from the map of user objects.(Method of javax.jdo.PersistenceManager)

 
api-jpa

javax.persistence.PrimaryKeyJoinColumns

Groups PrimaryKeyJoinColumn annotations.(Annotation of JPA)

 
api-jdo

Constants.PROPERTY_SERVER_TIME_ZONE_ID

Mapping "javax.jdo.option.ServerTimeZoneID"(Static Field of javax.jdo.Constants)

 
api-jpa

createNativeQuery(sqlString, resultSetMapping)

Create an instance of Query for executing a native SQL query.(Method of javax.persistence.EntityManager)

 
forum_thread

Feature suggestion: auto-detection of entities via persistence.xml extension

I am encountering problems (complexities) with EntityManager registration of entities across multiple modules in a multi-module Maven project. I have a  entities under many different paths in many different modules, and frequently evolving/changing. JPA2 persistence.xml does not seem to have support for wildcards under the <class> field. Apparently Hibernate has an autodetection extension system: hibernate.archive.autodetection https://docs.jboss.org/hibernate/entitymanager/3.6/reference/en/html/configuration.html #1 2017-07-04 04:05 I am encountering problems (complexities) with EntityManager registration of entities across multiple modules in ...