About Cache

101-110 of 200Refresh
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)
JDO Doc
3

evictAll(oids)

Method javax.jdo.datastore.DataStoreCache void evictAll(   Collection oids ) Evict the parameter instances from the second-level cache. Parameters: oids - the object ids of the instance to evict. Since: JDO 2.0
JDO Doc
3

evictAll(oids)

Method javax.jdo.datastore.DataStoreCache void evictAll(   Object... oids ) Evict the parameter instances from the second-level cache. Parameters: oids - the object ids of the instance to evict. Since: JDO 2.0