About cache

issue

Database File Compression

ObjectDB database files are usually smaller than database files of other Database Management Systems (object and Relational) but still, an additional internal compression is possible. Usually smaller files are also faster because less I/O operations are required and memory cache can be used more efficiently. But compression and decompression consumes CPU time. Therefore, the effect of compression on Object databases is currently unknown.... faster because less I/O operations are required and memory cache can be used more efficiently. On the other hand, compression and ...

 
api-jpa

JPA Annotations for Classes

Reference (JavaDoc) of JPA 2 class annotations, including @Entity, @Embeddable, @IdClass, @Cacheable, @EntityListeners, etc.... can be further configured by annotations that specify cache preferences and lifecycle event listener policy (as explained in ...

 
page

How to upgrade from ObjectDB 1.0?

Explains how to upgrade from ObjectDB 1.0 to ObjectDB 2.0.... classpath and the execution classpath). Refresh your IDE cache. Rebuild your project using the new jar file and enhance your classes ...

 
api-jdo

pin(oid)

Pin the parameter instance in the second-level cache.(Method of javax.jdo.datastore.DataStoreCache)

 
api-jdo

unpin(oid)

Unpin the parameter instance from the second-level cache.(Method of javax.jdo.datastore.DataStoreCache)

 
api-jpa

SharedCacheMode.NONE

Caching is disabled for the persistence unit.(Enum Constant of javax.persistence.SharedCacheMode)

 
forum_thread

Problem with @Basic(fetch = FetchType.LAZY)

I have a class where two fields are annotated with @Basic(fetch = FetchType.LAZY) due to them containing quite long Strings and me loading ALL entities of the database on application startup (swing app) This class should hopefully demonstrate the problem: ... //Close everything and reopen to make sure no cache of the description / code is left behind emf = ...

 
api-jdo

Persistent.cacheable

Whether this field/property is cacheable in a Level2 cache.(Annotation Element of javax.jdo.annotations.Persistent)

 
api-jdo

unpinAll(subclasses, pcClass)

Unpin instances from the second-level cache.(Method of javax.jdo.datastore.DataStoreCache)

 
api-jdo

evictAll(subclasses, pcClass)

Mark the parameter instances as no longer needed in the cache.(Method of javax.jdo.PersistenceManager)