About cache
Shared (L2) Entity Cache
Explains how to set and use the EntityManagerFactory's shared cache (L2 / level 2) in JPA 2.... manages. The persistence context serves as a first level cache. An attempt to retrieve an entity object that is already managed by ... . This section describes a level 2 (L2) cache of entity objects, which is managed by the EntityManagerFactory ...
Entity Management Settings
Explains settings and performance tuning of JPA entities in ObjectDB, the fast Java object database for JPA/JDO.... = "true" reflection = "warning" /> <cache ref = "weak" level2 = "0mb" /> <persist ... The <enhancement> element The <cache> element The <persist> element The ...
Database Management Settings
Explains settings and performance tuning of the ObjectDB Java object database for JPA/JDO.... = "true" /> <processing cache = "64mb" max-threads = "10" synchronized = "false" /> <query-cache results = "32mb" programs = "500" /> ... The <processing> element The <query-cache> element The <extensions> element ...
Working with JPA Entity Objects
Explains the entity object lifecycle and the persistence context.... is that the persistence context also functions as a local cache for a given EntityManager . ObjectDB also manages a level 2 shared cache for the EntityManagerFactory ...
JPA Miscellaneous
Reference (JavaDoc) of JPA API, including PersistenceUtil, PersistenceUnitUtil, Cache, CacheRetrieveMode, CacheStoreMode, FlushModeType, LockModeType, PessimisticLockScope.... javax.persistence.PersistenceUnitUtil The Cache interface and the CacheRetrieveMode and CacheStoreMode enum ... managing the EntityManagerFactory's shared (level 2) cache: javax.persistence.Cache javax.persistence.CacheRetrieveMode ...
javax.persistence.Cache
Interface used to interact with the second-level cache.(Interface of JPA)
ObjectDB Object Database Features
ObjectDB provides a rich set of features, many of them as the result of supporting the JPA and JDO APIs.... L1 entity object cache (per EntityManager). L2 shared entity data cache (per EntityManagerFactory). ...
javax.jdo.datastore.DataStoreCache
Many JDO implementations allow instances to be cached in a second-level cache, and allow direct management of the cache by knowledgeable applications.(Interface of JDO)
Is 2 level cache in use?
Hi, Is there any way to check, if 2 level cache is in use? Right now I've done two things: 1. objectdb.conf with cache size is placed in WEB-INF directory of my web application. 2. persistence.xml was modified with: ... Hi, Is there any way to check, if 2 level cache is in use? Right now I've done two things: 1. objectdb.conf with cache size is placed in WEB-INF directory of my web application. 2. ...
javax.jdo.datastore.DataStoreCache.EmptyDataStoreCache
This class is an empty implementation of the DataStoreCache interface.(Class of JDO)