ObjectDB ObjectDB

Internal Website Search

41-50 of 158 resultsRefresh
6

javax.persistence.ManyToMany

within an embeddable class contained within an entity class to specify a relationship to a collection of entities. If the relationship is bidirectional and the entity containing the embeddable class ... annotation to specify the relationship field or property of the embeddable class. The dot
6

javax.persistence.OrderBy

used. When specifying an ordering over an element collection of embeddable type, the dot notation ... .plusFour") public Set getResidences() {...}; ... } @Embeddable public class ... state; @Embedded protected Zipcode zipcode; } @Embeddable public class Zipcode
6

javax.persistence.ElementCollection

) Defines a collection of instances of a basic type or embeddable class. Must be specified ... : javax.persistence.FetchType.LAZY Since: JPA 2.0 Class targetClass (Optional) The basic or embeddable class that is the element type of the collection. (Optional) The basic or embeddable class
6

javax.persistence.JoinColumn

key column is in the table of the source entity or embeddable. If the join is for a unidirectional ... field of the referencing entity or embeddable class; "_"; the name of the referenced primary key column ... , the name of the table of the source entity or embeddable. If the join is for a unidirectional OneToMany
5

javax.persistence.criteria.From

, but may also be an embeddable belonging to an entity in the from clause. Serves as a factory for Joins of associations, embeddables, and collections belonging to the type, and for Paths of attributes
5

javax.persistence.metamodel.Attribute.PersistentAttributeType

PersistentAttributeType EMBEDDED Embeddable class attribute Embeddable class attribute Since: JPA 2
5

javax.persistence.JoinTable

is used in mapping a relationship with an embeddable class on the owning side of the relationship, the containing entity rather than the embeddable class is considered the owner of the relationship
5

JoinColumn.name

of the source entity or embeddable. If the join is for a unidirectional OneToMany mapping using a foreign ... embeddable class; "_"; the name of the referenced primary key column. If there is no such referencing
3

Unexpected exception (Error 990) com.objectdb.o.InternalException

with an embeddable:         em.getTransaction().begin();         em.persist(new MyEntity());         em.getTransaction().commit();         // Keep a strong reference to the embeddable but free the entity:         MyEmbeddable embeddable = em.find(MyEntity.class, 1).embeddable;         System.gc
3

javax.persistence.criteria.Join

javax.persistence.criteria Interface Join<Z,X> Superinterfaces: Expression<X>, FetchParent<Z,X>, From<Z,X>, Path<X>, Selection<X>, TupleElement<X> Subinterfaces: CollectionJoin, ListJoin, MapJoin, PluralJoin, SetJoin A join to an entity, embeddable, or basic type. Since: JPA 2.0 Learn how to use

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