ObjectDB ObjectDB

Internal Website Search

31-40 of 162 resultsRefresh
11

Storing JPA Entity Objects

embedded in containing entity objects. Therefore, if Address is defined as an embeddable class
11

Paths and Types in JPQL and Criteria API

Instances of user defined persistable classes (entity classes, mapped super classes and embeddable classes) are represented in JPQL by the following types of expressions: Variables - FROM identification variables and SELECT result variables. Parameters - when instances of these classes are assigned
10

javax.persistence.AttributeOverride

embeddable class (or embeddable class of one of its attributes). May be applied to an element collection containing instances of an embeddable class or to a map collection whose key and/or value is an embeddable class. When AttributeOverride is applied to a map, "key." or "value." must be used to prefix
10

javax.persistence.CollectionTable

) Specifies the table that is used for the mapping of collections of basic or embeddable types. Applied ... that correspond to the embeddable class or basic type are derived from the attributes of the embeddable class or ... the case of an embeddable class, the column names are derived from the field or property names
8

javax.persistence.EmbeddedId

key that is an embeddable class. The embeddable class must be annotated as Embeddable ... within the embeddable class. The MapsId annotation may be used in conjunction with the EmbeddedId annotation to specify ... supported. Example 1: @EmbeddedId protected EmployeePK empPK; Example 2: @Embeddable
8

javax.persistence.OneToOne

may be used within an embeddable class to specify a relationship from the embeddable class to an entity class. 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 (".") notation
7

javax.persistence.Embedded

a persistent field or property of an entity whose value is an instance of an embeddable class. The embeddable class must be annotated as Embeddable. The AttributeOverride, AttributeOverrides ... defaulted by the embeddable class. Example: @Embedded @AttributeOverrides({ @AttributeOverride
7

javax.persistence.ManyToOne

that is the owner of the relationship. The ManyToOne annotation may be used within an embeddable class to specify a relationship from the embeddable class to an entity class. If the relationship ... annotation to specify the relationship field or property of the embeddable field or property on the owning
6

javax.persistence.metamodel.Type.PersistenceType

BASIC Basic type Basic type Since: JPA 2.0 PersistenceType EMBEDDABLE Embeddable class Embeddable class
6

getEmbeddables()

Method javax.persistence.metamodel.Metamodel Set<EmbeddableType<?>> getEmbeddables() Return the metamodel embeddable types. Returns empty set if there are no embeddable types. Returns: the metamodel embeddable types Since: JPA 2.0

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