About Transaction

release

2.2.5

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

 
forum_thread

Vs. EHCache

Hi, I realize this is kind of like an apples vs. oranges comparison, but I would be interested if you have any performance information vs. something like ehcache with a persistent store. I'm currently evaluating for a simple schema to persist only 1 or 2 types of entities (but possibly 10k-100k instances) with simple index based queries which imagine both products could probably solve. #1 2010-11-18 15:22 Hi, I realize this is kind of like an apples vs. oranges comparison, but I would be interested if you have any perfo ...

 
manual

ObjectDB 1.0 Manual

Welcome to the ObjectDB for Java/JDO Developer's Guide. Here you can learn how to develop database applications using ObjectDB and JDO (Java Data Objects), the revolutionary database programming technology by Sun Microsystems. The main purpose of ...

 
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 ( ...

 
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 ...

 
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 ...

 
api-jdo

getVersion(pc)

Return the version of the parameter instance.(Method of javax.jdo.spi.StateInterrogation)

 
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-jdo

setConnectionFactory2Name(connectionFactoryName)

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