About cache

51-60 of 200Refresh
JPA Doc
6

javax.persistence.spi.PersistenceUnitInfo

cache for the persistence unit. Returns the specification of how the provider must use a second-level cache for the persistence unit. The result of this method corresponds to the shared-cache-mode element in the persistence.xml file. Returns: the second-level cache mode that must be used by
Issue
6

Best practise loading big data

infrastructure (cache releated classes? ) that was built up during reading and now when all references ... done inside the DB if possible. ObjectDB manages several cache data structures: Page cache Query caches Entity caches You may use the above links to the see default sizes of caches
Forum
5

evictAll() behavior

the L2 cache -- is this correct 2. the evicts only work when they are done inside a transaction ... .getDataStoreCache().evictAll() clears the L2 cache. pm.evictAll() clears the persistence manager (L1) cache. But evictAll does not affect objects that have been changed by the current
JDO Doc
5

checkConsistency()

Method javax.jdo.PersistenceManager void checkConsistency() Validates the PersistenceManager cache ... transaction is active, this method verifies the consistency of instances in the cache against the datastore ... the consistency of the instances in the cache against the datastore. If any inconsistencies are detected
JDO Doc
5

evict(pc)

Method javax.jdo.PersistenceManager void evict(   Object pc ) Mark an instance as no longer needed in the cache. Eviction is normally done automatically by the PersistenceManager at transaction ... that the instance is no longer needed in the cache. Parameters: pc - the instance to evict from the cache. Since: JDO 1.0
JDO Doc
5

evictAll()

Method javax.jdo.datastore.DataStoreCache void evictAll() Evict the parameter instances from the second-level cache. All instances in the PersistenceManager's cache are evicted from the second-level cache. Since: JDO 2.0
JPA Doc
5

getSharedCacheMode()

the specification of how the provider must use a second-level cache for the persistence unit. The result of this method corresponds to the shared-cache-mode element in the persistence.xml file. Returns: the second-level cache mode that must be used by the provider for the persistence unit Since: JPA 2.0
JDO Doc
5

javax.jdo.identity.ByteIdentity

: the target class name. Since: JDO 2.0 int hashCode() Return the cached hash code. Return the cached hash code. Returns: the cached hash code. Since: JDO 1.0 void readExternal(ObjectInput in)throws
JDO Doc
5

javax.jdo.identity.CharIdentity

hashCode() Return the cached hash code. Return the cached hash code. Returns: the cached hash code
JDO Doc
5

javax.jdo.identity.IntIdentity

. Since: JDO 2.0 int hashCode() Return the cached hash code. Return the cached hash code. Returns: the cached hash code. Since: JDO 1.0 void readExternal(ObjectInput in)throws IOException