ObjectDB Database Search
1-19 of 19 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 | |
StoredProcedureQuery.setCacheStoreMode(cacheStoreMode) - JPA Method JPA Method in jakarta.persistence.StoredProcedureQuery StoredProcedureQuery setCacheStoreMode ( CacheStoreMode cacheStoreMode ) Set the cache storage mode that is in effect ... manager. Parameters: cacheStoreMode - cache storage mode Return: the same query instance Since: JPA 3.2 | |
TypedQuery.setCacheStoreMode(cacheStoreMode) - JPA Method JPA Method in jakarta.persistence.TypedQuery TypedQuery setCacheStoreMode ( CacheStoreMode cacheStoreMode ) Set the cache storage mode that is in effect during query execution ... : cacheStoreMode - cache storage mode Return: the same query instance Since: JPA 3.2 | |
EntityManager.setCacheStoreMode(cacheStoreMode) - JPA Method JPA Method in jakarta.persistence.EntityManager void setCacheStoreMode ( CacheStoreMode cacheStoreMode ) Set the default plain for this persistence context. Parameters: cacheStoreMode - cache storage mode Since: JPA 3.2 | |
EnumRef jakarta.persistence.CacheStoreMode JPA Enum CacheStoreMode java.lang.Object ∟ java.lang.Enum ∟ jakarta.persistence. CacheStoreMode Implemented Interfaces: FindOption , RefreshOption Specifies how the EntityManager ... Since: JPA 2.0 The Shared (L2) Entity Cache article explains how to use CacheStoreMode . Enum | |
Query.setCacheStoreMode(cacheStoreMode) - JPA Method JPA Method in jakarta.persistence.Query Query setCacheStoreMode ( CacheStoreMode cacheStoreMode ) Set the cache storage mode that is in effect during query execution. This cache ... : cacheStoreMode - cache storage mode Return: the same query instance Since: JPA 3.2 | |
EnumConstRef jakarta.persistence.CacheStoreMode.REFRESH 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: JPA 2.0 | |
EnumConstRef jakarta.persistence.CacheStoreMode.BYPASS JPA Enum Constant in jakarta.persistence. CacheStoreMode BYPASS Don't insert into cache. Since: JPA 2.0 | |
EnumConstRef jakarta.persistence.CacheStoreMode.USE 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: 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: | |
InterfaceRef jakarta.persistence.Query that will be in effect during query execution. Since: JPA 3.2 CacheStoreMode getCacheStoreMode ... query instance Since: JPA 3.2 Query setCacheStoreMode ( CacheStoreMode cacheStoreMode ) Set ... the cache storage mode in use by the entity manager. Parameters: cacheStoreMode - cache storage mode Return | |
InterfaceRef jakarta.persistence.TypedQuery effect during query execution. Inherited from: Query Since: JPA 3.2 CacheStoreMode getCacheStoreMode ... Since: JPA 3.2 TypedQuery setCacheStoreMode ( CacheStoreMode cacheStoreMode ) Set the cache ... storage mode in use by the entity manager. Parameters: cacheStoreMode - cache storage mode Return | |
InterfaceRef jakarta.persistence.EntityManager CacheStoreMode getCacheStoreMode () The cache storage mode for this persistence context. Since: JPA ... mode Since: JPA 3.2 void setCacheStoreMode ( CacheStoreMode cacheStoreMode ) Set the default plain for this persistence context. Parameters: cacheStoreMode - cache storage mode Since: JPA 3.2 void | |
InterfaceRef jakarta.persistence.StoredProcedureQuery from: Query Since: JPA 3.2 CacheStoreMode getCacheStoreMode () The cache storage mode that will be in ... 3.2 StoredProcedureQuery setCacheStoreMode ( CacheStoreMode cacheStoreMode ) Set the cache ... storage mode in use by the entity manager. Parameters: cacheStoreMode - cache storage mode Return | |
EntityManager.getCacheStoreMode() - JPA Method JPA Method in jakarta.persistence.EntityManager CacheStoreMode getCacheStoreMode () The cache storage mode for this persistence context. Since: JPA 3.2 | |
InterfaceRef jakarta.persistence.FindOption PessimisticLockScope CacheRetrieveMode CacheStoreMode Timeout EntityManager.find EntityManager.find Since: JPA 3.2 | |
InterfaceRef jakarta.persistence.RefreshOption PessimisticLockScope CacheStoreMode Timeout EntityManager.refresh Since: JPA 3.2 | |
Query.getCacheStoreMode() - JPA Method JPA Method in jakarta.persistence.Query CacheStoreMode getCacheStoreMode () The cache storage mode that will be in effect during query execution. Since: 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 |