About Time

release

2.1.1

Release date: 2011-03-10 Download (3.89 MB) Binary:  objectdb-2.1.1.zip You should start by following a  tutorial or reading the manual ...

 
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.... one thread will be accessing the PersistenceManager at a time. One of my next steps will be to increase the number of threads so if you ...

 
tutorial

Step 4: Run the Application

Running ObjectDB/JPA tutorial in the Eclipse IDE.... When you run the application for the first time, a new ObjectDB database file is generated in the db subdirectory ...

 
api-jdo

getRetainValues()

If true, at commit time instances retain their field values.(Method of javax.jdo.Transaction)

 
api-jpa

persist(entity)

Make an instance managed and persistent.(Method of javax.persistence.EntityManager)

 
api-jpa

javax.persistence.OptimisticLockException

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

 
api-jpa

createEntityManager(map)

Create a new application-managed EntityManager with the specified Map of properties.(Method of javax.persistence.EntityManagerFactory)

 
api-jpa

addTransformer(transformer)

Add a transformer supplied by the provider that will be called for every new class definition or class redefinition that gets loaded by the loader returned by the PersistenceUnitInfo.getClassLoader method.(Method of javax.persistence.spi.PersistenceUnitInfo)

 
forum_thread

Merge Issue: Attempt to reuse an existing primary key value

Hello, I have just updated my objectdb version from 2.4.6 to 2.5.5. I observed a new bug or a feature on an ordinary merge operation. This is the test case ( work in 2.4.6 version ) : 2 parents object share the same child on a ManyToMany relationship with Cascade.ALL constraint. #1 2014-06-10 08:02 Hello, I have just updated my objectdb version from 2.4.6 to 2.5.5. I observed a new bug or a fea ...

 
api-jdo

addInstanceLifecycleListener(listener, classes)

Add the parameter listener to the list of instance lifecycle event listeners set as the initial listeners for each PersistenceManager created by this PersistenceManagerFactory.(Method of javax.jdo.PersistenceManagerFactory)