ObjectDB Database Search
1-20 of 20 resultsjakarta.persistence.CacheStoreMode Jakarta Persistence (JPA) Enum jakarta.persistence. CacheStoreMode java.lang.Object ∟ java.lang.Enum ∟ jakarta.persistence. CacheStoreMode Implemented Interfaces: FindOption , RefreshOption ... .storeMode . See Also: EntityManager::setCacheStoreMode( CacheStoreMode ) Query::setCacheStoreMode | |
jakarta.persistence.CacheStoreMode.CacheStoreMode() Jakarta Persistence (JPA) Constructor in jakarta.persistence. CacheStoreMode CacheStoreMode () Since: Jakarta Persistence (JPA) 1.0 | |
Shared (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 | |
jakarta.persistence.TypedQuery.setCacheStoreMode(CacheStoreMode) Jakarta Persistence (JPA) Method in jakarta.persistence.TypedQuery TypedQuery setCacheStoreMode ( CacheStoreMode cacheStoreMode ) Set the cache storage mode that is in effect ... . Parameters: cacheStoreMode - cache storage mode Returns: the same query instance. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.StoredProcedureQuery.setCacheStoreMode(CacheStoreMode) Jakarta Persistence (JPA) Method in jakarta.persistence.StoredProcedureQuery StoredProcedureQuery setCacheStoreMode ( CacheStoreMode cacheStoreMode ) Set the cache storage mode ... the entity manager. Parameters: cacheStoreMode - cache storage mode Returns: the same query instance. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.EntityManager.setCacheStoreMode(CacheStoreMode) Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void setCacheStoreMode ( CacheStoreMode cacheStoreMode ) Set the default cache storage mode for this persistence context. Parameters: cacheStoreMode - cache storage mode Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.Query.setCacheStoreMode(CacheStoreMode) Jakarta Persistence (JPA) Method in jakarta.persistence.Query Query setCacheStoreMode ( CacheStoreMode cacheStoreMode ) Set the cache storage mode that is in effect during query ... . Parameters: cacheStoreMode - cache storage mode Returns: the same query instance. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.CacheStoreMode.USE Jakarta Persistence (JPA) Enum Constant in jakarta.persistence. CacheStoreMode USE Insert entity data into cache when read from database and insert/update entity data when written to the database: this is the default behavior. Does not force refresh of already cached items when reading from database. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.CacheStoreMode.BYPASS Jakarta Persistence (JPA) Enum Constant in jakarta.persistence. CacheStoreMode BYPASS Don't insert into cache. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.CacheStoreMode.REFRESH Jakarta Persistence (JPA) Enum Constant in jakarta.persistence. CacheStoreMode REFRESH Insert/update entity data held in the cache when read from the database and when written to the database. Force refresh of cache for items read from database. Since: Jakarta Persistence (JPA) 1.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: | |
jakarta.persistence.EntityManager retrieval mode for this persistence context. Since: Jakarta Persistence (JPA) 3.2 CacheStoreMode ... Persistence (JPA) 3.2 void setCacheStoreMode ( CacheStoreMode cacheStoreMode ) Set the default cache storage mode for this persistence context. Parameters: cacheStoreMode - cache storage mode | |
jakarta.persistence.TypedQuery effect during query execution. Inherited from Query Since: Jakarta Persistence (JPA) 3.2 CacheStoreMode ... . Since: Jakarta Persistence (JPA) 3.2 TypedQuery setCacheStoreMode ( CacheStoreMode cacheStoreMode ... : cacheStoreMode - cache storage mode Returns: the same query instance. Since: Jakarta Persistence | |
jakarta.persistence.Query that will be in effect during query execution. Since: Jakarta Persistence (JPA) 3.2 CacheStoreMode ... setCacheStoreMode ( CacheStoreMode cacheStoreMode ) Set the cache storage mode that is in effect during query ... . Parameters: cacheStoreMode - cache storage mode Returns: the same query instance. Since: Jakarta | |
jakarta.persistence.StoredProcedureQuery.2 CacheStoreMode getCacheStoreMode () The cache storage mode that will be in effect during query ... instance. Since: Jakarta Persistence (JPA) 3.2 StoredProcedureQuery setCacheStoreMode ( CacheStoreMode cacheStoreMode ) Set the cache storage mode that is in effect during query execution. This cache storage | |
jakarta.persistence.FindOption by the specification. See Also: LockModeType PessimisticLockScope CacheRetrieveMode CacheStoreMode | |
jakarta.persistence.RefreshOption defined by the specification. See Also: LockModeType PessimisticLockScope CacheStoreMode Timeout | |
jakarta.persistence.EntityManager.getCacheStoreMode() Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager CacheStoreMode getCacheStoreMode() The cache storage mode for this persistence context. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.Query.getCacheStoreMode() Jakarta Persistence (JPA) Method in jakarta.persistence.Query CacheStoreMode getCacheStoreMode() The cache storage mode that will be in effect during query execution. Since: Jakarta Persistence (JPA) 3.2 | |
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 |