Home » Search

About cache

91-100 of 200Refresh
Issue
3

Use temporary files to enable very large transactions

because the objects are kept in the first level cache of ObjectDB. In the forum thread http://www.objectdb ... , for us is this scenario a blocker. We dereference the new created and persisted objects from the first level cache (by ... after clear. And the heap reached its limit after x flushes. I believe the byte arrays are the db cache
Forum
3

OptimisticLockException

to do this automatically (or alternatively to turn off caching??) 2. do I understand correctly that if object x ... any object before I modify it??   You can disable the L2 cache (or empty it with evict) and empty the EntityManager (L1) cache by invoking clear. JDO provides some additional settings in which objects
JPA Doc
3

Cacheable.value

Annotation Element javax.persistence.Cacheable boolean value (Optional) Whether or not the entity should be cached. Default value: true Since: JPA 2.0
JPA Doc
3

CacheRetrieveMode.BYPASS

Enum Constant javax.persistence.CacheRetrieveMode BYPASS Bypass the cache: get data directly from the database. Since: JPA 2.0
JPA Doc
3

CacheRetrieveMode.USE

Enum Constant javax.persistence.CacheRetrieveMode USE Read entity data from the cache: this is the default behavior. Since: JPA 2.0
JPA Doc
3

CacheStoreMode.BYPASS

Enum Constant javax.persistence.CacheStoreMode BYPASS Don't insert into cache. Since: JPA 2.0
JPA Doc
3

clearCachedProviders()

Method javax.persistence.spi.PersistenceProviderResolver void clearCachedProviders() Clear cache of providers. Since: JPA 2.0
Forum
3

Entity is not related to ObjectDB, but i get exception from ObjectDB

: granat.dp.domain.entity.psql.DialogNew at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201) [guava-16.0.1.jar:] at com.google.common.cache.LocalCache.get(LocalCache.java:3934) [guava-16.0.1.jar:] at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) [guava-16
JDO Doc
3

evict(oid)

Method javax.jdo.datastore.DataStoreCache void evict(   Object oid ) Evict the parameter instance from the second-level cache. Parameters: oid - the object id of the instance to evict. Since: JDO 2.0
JDO Doc
3

evictAll()

Method javax.jdo.PersistenceManager void evictAll() Mark all persistent-nontransactional instances as no longer needed in the cache. It transitions all persistent-nontransactional instances to hollow. Transactional instances are subject to eviction based on the RetainValues setting. Since: JDO 1.0 See Also: evict(Object pc)