About time

page

Download ObjectDB

Free download of the ObjectDB object database for Java with JPA and JDO support.... and one million entity objects per database file (no time limit). You need a license to remove these limits. ...

 
manual

Retrieving JPA Entity Objects

Explains how to use JPA to retrieve entity objects from the database.... Therefore, it is recommended to avoid unnecessary time consuming operations in no-arg constructors of entity classes and to keep ...

 
forum_thread

Composite index support collection

Hello, is there any chance that you support composite indices with fields and collections combined in the future? We need such feature in our application and would be very happy to see it in the future :) Best regards Markus ... would be fine for our use cases. Do you have any concrete time plans regarding this feature? Best regards Markus ...

 
api-jpa

javax.persistence.FlushModeType

Flush mode setting.(Enum of JPA)

 
issue

Enhancer option to enhance all persitable types

Hello, can you add an option to the Class Enhancer to enhance all persistable types and ignore the NON persistable types. Like the Load Time Enhancement. ... ignore the NON persistable types. Like the Load Time Enhancement. edit ...

 
api-jdo

setIgnoreCache(ignoreCache)

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

 
forum_thread

Cannot initialize db after inserting a java.util.List

Hi, I've spent some time trying to figure this out without success, so I'm asking for much appreciated help. I have an entity class like this: class Test { private List<String> list = new ArrayList<String>(); } I can persist and retrieve the obj just fine using standalone program, but whenever I access the db through a servlet container I get this error: objectdb.java.util.ArrayList cannot be cast to com.objectdb.spi.TrackableSysType This happens during EntityManagerFactory initialization.... Hi, I've spent some time trying to figure this out without success, so I'm asking for much ...

 
api-jpa

javax.persistence.LockTimeoutException

Thrown by the persistence provider when an pessimistic locking conflict occurs that does not result in transaction rollback.(Exception of JPA)

 
api-jpa

javax.persistence.spi.PersistenceProviderResolver

Determine the list of persistence providers available in the runtime environment.(Interface of JPA)

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