About Transaction

release

2.2.4

... exception on pessimistic locking retrieval with no active transaction. Improved support of entity objects in criteria ...

 
release

2.2.5

... exception on pessimistic locking retrieval with no active transaction. Improved support of entity objects in criteria ...

 
forum_thread

Error during cascaded merge

Hello! I have a new problem with ObjectDB 2.5.5_02. This issue appeared after the upgrade from 2.5.5. I get the following exception: #1 2014-05-05 12:26 Hello! I have a new problem with ObjectDB 2.5.5_02. This issue appeared after the upgrade from 2.5.5. ...

 
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.... try { // Start the transaction m_persistenceManager. currentTransaction ( ...

 
forum_thread

How to package orm.xml when using EJB in WAR?

Hi, I have database utility classes in one project, the id's use sequences declared in an orm.xml file for example: ... persistence - unit name = "OBJECT_DB_LOCAL_PU" transaction - type = "JTA" > < provider > com ...

 
issue

OutOfMemoryError, if close the entity manager

Hello, why this error occurs during close the entity manager?   Bug Version: 2.7.1 Priority: Critical Status: Closed Replies: 1 Type:  Bug ...

 
api-jdo

setIgnoreCache(ignoreCache)

Set the ignoreCache option.(Method of javax.jdo.Query)

 
api-jpa

javax.persistence.NonUniqueResultException

Thrown by the persistence provider when Query.getSingleResult() or TypedQuery.getSingleResult() is executed on a query and there is more than one result from the query.(Exception of JPA)

 
api-jpa

javax.persistence.PessimisticLockException

Thrown by the persistence provider when an pessimistic locking conflict occurs.(Exception of JPA)

 
api-jdo

setConnectionFactory2Name(connectionFactoryName)

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