ObjectDB Database Search

1-9 of 9 results

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

AnnotationRef jakarta.persistence.Cacheable

JPA Annotation Cacheable Target: TYPE Implemented Interfaces: Annotation Specifies ... of the Cacheable annotation is inherited by subclasses; it can be overridden by specifying Cacheable on a subclass. Cacheable (false) means that the entity and its state must not be cached by the provider

AnnotationAttrRef jakarta.persistence.Cacheable.value

JPA Annotation Attribute in jakarta.persistence. Cacheable boolean value default true (Optional) Whether or not the entity should be cached. Since: JPA 2.0

EnumRef jakarta.persistence.SharedCacheMode

. Since: JPA 2.0 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: JPA 2.0 ENABLE_SELECTIVE Caching is enabled for all entities for which Cacheable (true) is specified

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

EnumConstRef jakarta.persistence.SharedCacheMode.DISABLE_SELECTIVE

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: JPA 2.0

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

EnumConstRef jakarta.persistence.SharedCacheMode.ENABLE_SELECTIVE

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: JPA 2.0

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