ObjectDB ObjectDB

Internal Website Search

171-180 of 200 resultsRefresh


javax.persistence Annotation Table Target: Classes Specifies the primary table for the annotated entity. Additional tables may be specified using SecondaryTable or SecondaryTables annotation. If no Table annotation is specified for an entity class, the default values apply. Example: @Entity


javax.persistence Annotation PreUpdate Target: Callback methods Is used to specify callback methods for the corresponding lifecycle event. This annotation may be applied to methods of an entity class, a mapped superclass, or a callback listener class. Since: JPA 1.0 Learn how to define and use JPA


javax.persistence Annotation AttributeOverrides Target: Classes and fields (including property get methods) Used to override mappings of multiple properties or fields. Example: @Embedded @AttributeOverrides({ @AttributeOverride(name="startDate


javax.persistence Annotation Access Target: Classes and fields (including property get methods) Used to specify an access type to be applied to an entity class, mapped superclass, or embeddable class, or to a specific attribute of such a class. Since: JPA 2.0 AccessType value (Required


javax.persistence Interface Cache Interface used to interact with the second-level cache. If a cache is not in use, the methods of this interface have no effect, except for contains, which returns false. Since: JPA 2.0 Learn how to use Cache in Chapter 3 of the ObjectDB/JPA manual. boolean contains


javax.persistence.criteria Interface CriteriaBuilder Used to construct criteria queries, compound selections, expressions, predicates, orderings. Note that Predicate is used instead of Expression in this API in order to work around the fact that Java generics are not compatible with varags


Static Field javax.jdo.Constants String PROPERTY_PERSISTENCE_MANAGER_FACTORY_CLASS "javax.jdo.PersistenceManagerFactoryClass" Since: JDO 2.1 See Also: JDOHelper.getPersistenceManagerFactory(java.util.Map)


Annotation Element javax.jdo.annotations.Persistent IdGeneratorStrategy valueStrategy Value strategy to use to generate the value for this field or property (if any). Returns: the generated value strategy Default value: javax.jdo.annotations.IdGeneratorStrategy.UNSPECIFIED Since: JDO 2.1


Enum Constant javax.jdo.annotations.PersistenceModifier PERSISTENT Since: JDO 2.1


Static Field javax.jdo.spi.JDOPermission JDOPermission CLOSE_PERSISTENCE_MANAGER_FACTORY An instance of JDOPermission to be used for closePersistenceManagerFactory permission checking. Since: JDO 1.0.1

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