ObjectDB ObjectDB

Internal Website Search

121-130 of 200 resultsRefresh


javax.persistence Annotation PersistenceContexts Target: Classes Declares one or more PersistenceContext annotations. It is used to express a dependency on container-managed entity manager persistence contexts. Since: JPA 1.0 See Also: PersistenceContext PersistenceContext[] value (Required) One or


javax.persistence Annotation OrderBy Target: Fields (including property get methods) Specifies the ordering of the elements of a collection valued association or element collection at the point ... of the associated entity is assumed. The property or field name must correspond to that of a persistent property


javax.persistence Annotation NamedNativeQueries Target: Classes Used to specify multiple native SQL named queries. Query names are scoped to the persistence unit. The NamedNativeQueries annotation can be applied to an entity or mapped superclass. Since: JPA 1.0 See Also: NamedNativeQuery


javax.persistence Annotation NamedNativeQuery Target: Classes Specifies a named native SQL query. Query names are scoped to the persistence unit. The NamedNativeQuery annotation can be applied to an entity or mapped superclass. Since: JPA 1.0 QueryHint[] hints Query properties and hints. Query


javax.persistence Annotation Transient Target: Fields (including property get methods) Specifies that the property or field is not persistent. It is used to annotate a property or field of an entity class, mapped superclass, or embeddable class. Example: @Entity public class Employee


javax.persistence Annotation SecondaryTable Target: Classes Specifies a secondary table for the annotated entity class. Specifying one or more secondary tables indicates that the data for the entity ... that all persistent fields or properties of the entity are mapped to the primary table


javax.persistence Annotation Cacheable Target: Classes Specifies whether an entity should be cached if caching is enabled when the value of the persistence.xml caching element is ENABLE_SELECTIVE or DISABLE_SELECTIVE. The value of the Cacheable annotation is inherited by subclasses


Static Method javax.persistence.Persistence PersistenceUtil getPersistenceUtil() Return the PersistenceUtil instance Returns: PersistenceUtil instance Since: JPA 2.0


javax.persistence Annotation Entity Target: Classes Specifies that the class is an entity. This annotation is applied to the entity class. Since: JPA 1.0 Learn how to define and use entity classes in ... to the entity in queries. The name must not be a reserved literal in the Java Persistence query language. Default value: "" Since: JPA 1.0


Annotation Element javax.jdo.annotations.Persistent Class[] types Types of the member. Used when the declared member type is a supertype of the actual type that is stored in the member. For example ... when used for persistence. Returns: the types Default value: {} Since: JDO 2.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