ObjectDB ObjectDB

Internal Website Search

81-90 of 200 resultsRefresh


Annotation Element javax.persistence.CollectionTable JoinColumn[] joinColumns (Optional ... column.) However, if there is more than one join column, a JoinColumn annotation must be specified for each join column using the JoinColumns annotation. In this case, both the name


javax.persistence Annotation SqlResultSetMappings Target: Classes Is used to define one or more SqlResultSetMapping annotations. Since: JPA 1.0 SqlResultSetMapping[] value One or more SqlResultSetMapping annotations. One or more SqlResultSetMapping annotations. Since: JPA 1.0


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 ... NamedNativeQuery[] value (Required) Array of NamedNativeQuery annotations. (Required) Array of NamedNativeQuery annotations. Since: JPA 1.0


javax.persistence Annotation PrimaryKeyJoinColumns Target: Classes and fields (including property get methods) Groups PrimaryKeyJoinColumn annotations. It is used to map composite foreign keys ... PrimaryKeyJoinColumn[] value One or more PrimaryKeyJoinColumn annotations. One or more PrimaryKeyJoinColumn annotations. Since: JPA 1.0


javax.persistence Annotation PrePersist Target: Callback methods Is used to specify callback methods for the corresponding lifecycle event. This annotation may be applied to methods of an entity ... callback methods in Chapter 3 of the ObjectDB/JPA manual. This annotation is a marker annotation (with no elements).


javax.persistence Annotation JoinColumn Target: Fields (including property get methods) Specifies a column for joining an entity association or element collection. If the JoinColumn annotation ... entity. When used inside a JoinTable annotation, the referenced key column is in the entity table


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 class is stored across multiple tables. If no SecondaryTable annotation is specified, it is assumed


javax.persistence Annotation PersistenceUnits Target: Classes Declares one or more PersistenceUnit annotations. Since: JPA 1.0 PersistenceUnit[] value (Required) One or more PersistenceUnit annotations. (Required) One or more PersistenceUnit annotations. Since: JPA 1.0


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


Annotation Element javax.jdo.annotations.PersistenceCapable Persistent[] members Member declarations. Annotations for persistent members of this class or interface can be specifed either here or on each member. Annotations for inherited members can only be specified here. Returns: member declarations 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