ObjectDB ObjectDB

Internal Website Search

111-120 of 200 resultsRefresh


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


javax.persistence Annotation MapKeyTemporal Target: Fields (including property get methods) This annotation must be specified for persistent map keys of type java.util.Date and java.util.Calendar. It may only be specified for map keys of these types. The MapKeyTemporal annotation can be applied


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 EmbeddedId Target: Fields (including property get methods) Applied to a persistent field or property of an entity class or mapped superclass to denote a composite primary key that is an embeddable class. The embeddable class must be annotated as Embeddable


javax.persistence Annotation MapKeyEnumerated Target: Fields (including property get methods) Specifies the enum type for a map key whose basic type is an enumerated type. The MapKeyEnumerated ... a map key enum type. (Optional) The type used in mapping a map key enum type. Default value: javax.persistence.EnumType.ORDINAL Since: JPA 2.0


javax.persistence Annotation Inheritance Target: Classes Defines the inheritance strategy to be used for an entity class hierarchy. It is specified on the entity class that is the root of the entity ... . Default value: javax.persistence.InheritanceType.SINGLE_TABLE Since: JPA 1.0


javax.persistence Annotation DiscriminatorColumn Target: Classes Specifies the discriminator column for the SINGLE_TABLE and JOINED Inheritance mapping strategies. The strategy and the discriminator ... to DiscriminatorType.STRING. Default value: javax.persistence.DiscriminatorType.STRING Since: JPA 1.0 int length


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


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


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