Internal Website Search
1-7 of 7 resultsShared (L2) Entity Cache has three valid values, which are defined as constants of the CacheStoreMode enum: CacheStoreMode . BYPASS - cache is not updated with new data. CacheStoreMode . USE - new data is stored in the cache - but only for entity objects that are not in the cache already. CacheStoreMode . REFRESH - new | |
javax.persistence.CacheStoreMode JPA Enum CacheStoreMode java.lang.Object ∟ java.lang.Enum ∟ javax.persistence. CacheStoreMode Used as the value of the javax.persistence.cache.storeMode property to specify the behavior ... The Shared (L2) Entity Cache article explains how to use CacheStoreMode . Enum Constants BYPASS Don't | |
javax.persistence.CacheStoreMode.REFRESH JPA Enum Constant in javax.persistence. CacheStoreMode REFRESH Insert/update entity data into cache when read from database and when committed into database. Forces refresh of cache for items read from database. Since: JPA 2.0 | |
javax.persistence.CacheStoreMode.BYPASS JPA Enum Constant in javax.persistence. CacheStoreMode BYPASS Don't insert into cache. Since: JPA 2.0 | |
javax.persistence.CacheStoreMode.USE JPA Enum Constant in javax.persistence. CacheStoreMode USE Insert entity data into cache when read from database and insert/update entity data when committed into database: this is the default behavior. Does not force refresh of already cached items when reading from database. Since: JPA 2.0 | |
Control and Setting This section contains miscellaneous JPA types. The PersistenceUtil and PersistenceUnitUtil interfaces provide general utility methods: The Cache interface and the CacheRetrieveMode and CacheStoreMode enum types serve in managing the EntityManagerFactory's shared (level 2) cache: Other enum types are provided for setting of various JPA operations: | |
ObjectDB 2.2.2 Changed log format to include date and time . Changed class loader management. Fixed handling multiple order expressions in inverse (mapped by) fields. Fixed the behavior of CacheStoreMode setting in L2 shared cache. Fixed TreeSet and TreeMap element comparison bugs. Fixed an Explorer |