About managed

api-jpa

JPA Miscellaneous

Reference (JavaDoc) of JPA API, including PersistenceUtil, PersistenceUnitUtil, Cache, CacheRetrieveMode, CacheStoreMode, FlushModeType, LockModeType, PessimisticLockScope. This section contains miscellaneous JPA types. The PersistenceUtil and PersistenceUnitUtil interfaces provide general utility methods: javax.persistence.PersistenceUtil javax.persistence.PersistenceUnitUtil ...

 
issue

Database File Compression

ObjectDB database files are usually smaller than database files of other Database Management Systems (object and Relational) but still, an additional internal compression is possible. Usually smaller files are also faster because less I/O operations are required and memory cache can be used more efficiently. But compression and decompression consumes CPU time. Therefore, the effect of compression on Object databases is currently unknown. Feature Request Version: Priority: Normal Status: Active Replies: 0 Type:  Feature Request ...

 
api-jpa

getFlushMode()

Get the flush mode in effect for the query execution.(Method of javax.persistence.Query)

 
forum_thread

Populating entity id before transaction commit

Hi, I have a question about populating auto generated id before transaction commit. We are using OBD with Spring and transactions are managed by Spring. The problem is, that we have custom annotation that wraps some of those functions to do additional work. But this annotation is executed before transaction is committed so all returned entities are not populated with ID in this context. How can I force ODB to populate entity ID before transaction is committed? Or maybe there is another way to finding ID of entity before commit? ... commit. We are using OBD with Spring and transactions are managed by Spring. The problem is, that we have custom annotation that wraps ...

 
api-jpa

getCriteriaBuilder()

Return an instance of CriteriaBuilder for the creation of CriteriaQuery objects.(Method of javax.persistence.EntityManagerFactory)

 
api-jdo

Constants.PMF_ATTRIBUTE_NONTRANSACTIONAL_WRITE

The name of the persistence manager factory element's "nontransactional-write" attribute.(Static Field of javax.jdo.Constants)

 
api-jdo

getExtent(persistenceCapableClass, subclasses)

The PersistenceManager manages a collection of instances in the data store based on the class of the instances.(Method of javax.jdo.PersistenceManager)

 
api-jdo

setConnectionFactory2(connectionFactory)

Set the second data store connection factory.(Method of javax.jdo.PersistenceManagerFactory)

 
api-jdo

fetchObjectField(fieldNumber)

Fetch one field from the field manager.(Method of javax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier)

 
api-jdo

fetchBooleanField(fieldNumber)

Fetch one field from the field manager.(Method of javax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier)