ObjectDB ObjectDB

Internal Website Search

31-40 of 165 resultsRefresh
12

Database Explorer

objects. The [Schema] window shows the user defined persistable types (entity and embeddable classes) in
11

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
9

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
9

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
8

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.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.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

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