ObjectDB Database Search
1-9 of 9 resultsjakarta.persistence.Cacheable Jakarta Persistence (JPA) Annotation Type jakarta.persistence. Cacheable Implemented Interfaces ... SharedCacheMode.DISABLE_SELECTIVE . The value of the Cacheable annotation is inherited by subclasses; it can be overridden by specifying Cacheable on a subclass. Cacheable (false) means that the entity | |
Shared (L2) Entity Cache that the cache is disabled for all the entity classes except classes that are specified as Cacheable explicitly. For example: @ Cacheable // or @ Cacheable (true) @Entity public class ... is enabled for all the entity classes except classes that are specified as non Cacheable | |
jakarta.persistence.Cacheable.value Jakarta Persistence (JPA) Method in jakarta.persistence. Cacheable boolean value (Optional) Whether or not the entity should be cached. Default: true Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.SharedCacheMode_SELECTIVE Caching is enabled for all entities except those for which Cacheable (false) is specified. Entities for which Cacheable (false) is specified are not cached. Since: Jakarta Persistence (JPA) 1.0 ENABLE_SELECTIVE Caching is enabled for all entities for which Cacheable (true) is specified | |
jakarta.persistence.SharedCacheMode.DISABLE_SELECTIVE Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.SharedCacheMode DISABLE_SELECTIVE Caching is enabled for all entities except those for which Cacheable (false) is specified. Entities for which Cacheable (false) is specified are not cached. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.SharedCacheMode.ENABLE_SELECTIVE Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.SharedCacheMode ENABLE_SELECTIVE Caching is enabled for all entities for which Cacheable (true) is specified. All other entities are not cached. Since: Jakarta Persistence (JPA) 1.0 | |
openejb jpa jaas module. */ @ Cacheable @Entity @SequenceGenerator( name = "gen", initialValue = 10000, allocationSize = 50 ... | Settings | File Templates. */ @ Cacheable @Entity @SequenceGenerator(name="seq", initialValue=10000 ... : 23:09 * To change this template use File | Settings | File Templates. */ @ Cacheable @Entity | |
Level 2 cache not hit in @ManyToOne Hi! I have 2 entities: User and Item, both @ Cacheable . Item has @ManyToOne private User user. Level 2 JPA cache is activated and it works ok for find by id (tested by changing data in explorer ... each time, even though user 5 has been previously loaded by find by id and its class is @ Cacheable | |
Warmup ( preLoad all table rows into memory ) Hi , I have 3 questions for objectdb : 1-) How can i preload all table rows into memory in objectdb ? So i can query fast. I have seen @ Cacheable annotation. But i need warmup table to memory when my software boots up. 2-) Also for speed up I am inserting a message into table |