ObjectDB ObjectDB

Internal Website Search

1-10 of 17 resultsRefresh
103

Shared (L2) Entity Cache

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

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
88

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
30

JPA Annotations for Classes

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

javax.persistence.SharedCacheMode

for all entities except those for which Cacheable(false) is specified. Caching is enabled for all entities except those for which Cacheable(false) is specified. Entities for which Cacheable(false ... for all entities for Cacheable(true) is specified. Caching is enabled for all entities for Cacheable(true
9

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
9

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
9

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
8

Cacheable.value

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

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

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support