ObjectDB ObjectDB

Internal Website Search

61-70 of 200 resultsRefresh


javax.persistence Annotation DiscriminatorValue Target: Classes Specifies the value of the discriminator column for entities of the given type. The DiscriminatorValue annotation can only be specified on a concrete entity class. If the DiscriminatorValue annotation is not specified


javax.persistence Annotation JoinColumns Target: Fields (including property get methods) Defines mapping for composite foreign keys. This annotation groups JoinColumn annotations for the same relationship. When the JoinColumns annotation is used, both the name and the referencedColumnName elements


javax.persistence Annotation MappedSuperclass Target: Classes Designates a class whose mapping ... defined for it. A class designated with the MappedSuperclass annotation can be mapped in the same way ... the AttributeOverride and AssociationOverride annotations or corresponding XML elements. Example


javax.persistence Annotation MapKeyJoinColumns Target: Fields (including property get methods) Supports composite map keys that reference entities. The MapKeyJoinColumns annotation groups MapKeyJoinColumn annotations. When the MapKeyJoinColumns annotation is used, both the name


javax.persistence Annotation MapKeyClass Target: Fields (including property get methods) Specifies ... annotation and associated type need not be specified; otherwise they must be specified. The MapKeyClass annotation is used in conjunction with ElementCollection or one of the collection-valued relationship


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 Id Target: Fields (including property get methods) Specifies the primary key of an entity. The field or property to which the Id annotation is applied ... of the entity is assumed to be the primary key of the primary table. If no Column annotation is specified


javax.persistence Annotation Basic Target: Fields (including property get methods) The simplest type of mapping to a database column. The Basic annotation can be applied to a persistent property or ... other type that implements java.io.Serializable. The use of the Basic annotation is optional for persistent


javax.persistence Annotation OrderColumn Target: Fields (including property get methods) Specifies ... , or reordering affecting the list. The OrderColumn annotation is specified on a OneToMany or ManyToMany relationship or on an element collection. The OrderColumn annotation is specified


javax.persistence Annotation Enumerated Target: Fields (including property get methods) Specifies ... annotation may be used in conjunction with the Basic annotation, or in conjunction with the ElementCollection annotation when the element collection value is of basic type. If the enumerated type is not

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