About Cache

issue

ArrayIndexOutOfBoundsException: -1

I've attached a test which fails with the error "ArrayIndexOutOfBoundsException: -1". It runs 10 threads which create and persist objects. The objects are based on application objects so its not a single class test I'm afraid but it is standalone. I'm running as follows: java -classpath objectdb.jar;test.jar PersistTest I've attached the test jar, a jar containing the source and the odjectdb.conf. ... It was a bug in the page cache. This cache can hold several different versions of the same database page ...

 
release

2.5.0

... count" bug ( issue #83 ). Fixed a page cache purge deadlock ( issue #85 ). Fixed handling ;drop in ... Fixed retrieval with pessimistic lock to bypass cache and to force refresh. Version 2.3.1 Added ...

 
forum_thread

find() delay

Hi, I tried objectdb in following steps: 1, for 1 to 30 {trans.begin(); create typeC o; em.persist(o); trans.commit();} 2, for 1 to 30 {p = em.find(typeC.class, i); print(p)} So simple a test, there is no result in one go; I have to disable step 1 and run again, then Step 2 output the expected results. I tried em.flush(), em.clear(), etc.. that do not work. Any idea? TIA ... different EntityManager instances are used and the L2 cache is enabled. ObjectDB Support ObjectDB - ... 2011-05-23 17:39 L2 cache? I'm not sure. But why the second find() will output? By the ...

 
forum_thread

Cascading makeTransient

Hi! We have a memory leak in our app because of ObjectDBs __odbTracker fields. The situation is that we read the objects from the DB (many and large objects of class A) and then keep in the application cache only some embedded parts of those objects (let's call them class B). This application cache should work independently on the DB as if it contained transient objects. ... large objects of class A) and then keep in the application cache only some embedded parts of those objects (let's call them class B). This application cache should work independently on the DB as if it contained transient ...

 
release

2.3.2

... Fixed retrieval with pessimistic lock to bypass cache and to force refresh. Version 2.3.1 Added ... Fixed a bug in keeping removed entity object in the L2 cache. Fixed orphan removal of owner entity object in ...

 
release

2.4.7

... count" bug ( issue #83 ). Fixed a page cache purge deadlock ( issue #85 ). Fixed handling ;drop in ... Fixed retrieval with pessimistic lock to bypass cache and to force refresh. Version 2.3.1 Added ...

 
release

2.2.8

... Fixed a bug in keeping removed entity object in the L2 cache. Fixed orphan removal of owner entity object in ... Fixed the behavior of CacheStoreMode setting in L2 shared cache. Fixed  TreeSet and TreeMap  element ...

 
manual

Retrieving JPA Entity Objects

Explains how to use JPA to retrieve entity objects from the database.... database. The persistence context serves as a cache of retrieved entity objects. If a requested entity object is not found in ... data that is retrieved from the database (or from the L2 cache - if enabled). The new entity object is then added to the persistence ...

 
api-jdo

javax.jdo.Query

The Query interface allows applications to obtain persistent instances, values, and aggregate data from the data store.(Interface of JDO)

 
release

2.4.6

... count" bug ( issue #83 ). Fixed a page cache purge deadlock ( issue #85 ). Fixed handling ;drop in ... Fixed retrieval with pessimistic lock to bypass cache and to force refresh. Version 2.3.1 Added ...