Home » Search

About Cacheable

1-10 of 13Refresh
Manual
142

Shared (L2) Entity Cache

classes except classes that are specified as Cacheable explicitly. For example: @Cacheable // or @Cacheable(true) @Entity public class MyCacheableEntityClass {     ... } Similarly, the DISABLE ... that are specified as non Cacheable explicitly. For example: @Cacheable(false) @Entity public class
JPA Doc
96

javax.persistence.Cacheable

javax.persistence Annotation Cacheable Target: Classes Specifies whether an entity should be cached ... 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 and its state
JDO Doc
91

javax.jdo.annotations.Cacheable

javax.jdo.annotations Annotation Cacheable Target: Classes and fields (including property get methods) Annotation to specify that this class/field/property is cacheable in a Level 2 cache. This corresponds to the xml attribute "cacheable" of the "class", "field" and "property" elements. Since: JDO
JDO Doc
89

PersistenceCapable.cacheable

Annotation Element javax.jdo.annotations.PersistenceCapable String cacheable Whether this class is cacheable in a Level2 cache. Default value: "true" Since: JDO 2.2
JDO Doc
89

Persistent.cacheable

Annotation Element javax.jdo.annotations.Persistent String cacheable Whether this field/property is cacheable in a Level2 cache. Default value: "true" Since: JDO 2.2
JDO Doc
85

Cacheable.value

Annotation Element javax.jdo.annotations.Cacheable String value Default value: "true" Since: JDO 2.2
JPA Doc
85

Cacheable.value

Annotation Element javax.persistence.Cacheable boolean value (Optional) Whether or not the entity should be cached. Default value: true Since: JPA 2.0
JPA Doc
60

JPA Annotations for Classes

Reference (JavaDoc) of JPA 2 class annotations, including @Entity, @Embeddable, @IdClass, @Cacheable, @EntityListeners, etc.
JDO Doc
15

javax.jdo.annotations.PersistenceCapable

javax.jdo.annotations Annotation PersistenceCapable Target: Classes Annotation for whether the class or interface is persistence-capable. Since: JDO 2.1 String cacheable Whether this class is cacheable in a Level2 cache. Whether this class is cacheable in a Level2 cache. Default value: "true
JDO Doc
15

javax.jdo.annotations.Persistent

" and "property". Since: JDO 2.1 String cacheable Whether this field/property is cacheable in a Level2 cache. Whether this field/property is cacheable in a Level2 cache. Default value: "true" Since: JDO 2.2