ObjectDB ObjectDB

Internal Website Search

111-120 of 200 resultsRefresh
4

javax.persistence.EmbeddedId

may only be used to override those attributes of the embedded id that do not correspond to the relationship to the parent entity. Relationship mappings defined within an embedded id class are not ... embedded ID fields in Chapter 2 of the ObjectDB/JPA manual. This annotation is a marker annotation (with no elements).
4

javax.persistence.ManyToOne

to indicate the relationship attribute within the embedded attribute. The value of each identifier used with the dot notation is the name of the respective embedded field or property. Example 1 ... { @Id int id; @Embedded JobInfo jobInfo; ... } @Embeddable
4

javax.persistence.OneToOne

within the embedded attribute. The value of each identifier used with the dot notation is the name of the respective embedded field or property. Example 1: One-to-one association that maps a foreign key column ... to another entity. @Entity public class Employee { @Id int id; @Embedded
3

javax.persistence.Embeddable

of the persistent properties or fields of the embedded object is mapped to the database table for the entity. Note ... ; protected String city; protected String state; @Embedded protected Zipcode zipcode
3

javax.persistence.ManyToMany

within the embedded attribute. The value of each identifier used with the dot notation is the name of the respective embedded field or property. Example 1: // In Customer class: @ManyToMany
0

Value.embeddedMapping

Annotation Element javax.jdo.annotations.Value Embedded[] embeddedMapping The embedded mapping for the value. Returns: the embedded mapping for the value Default value: {} Since: JDO 2.1
0

Key.embeddedMapping

Annotation Element javax.jdo.annotations.Key Embedded[] embeddedMapping The embedded mapping for the key. Returns: the embedded mapping for the key Default value: {} Since: JDO 2.1
0

Element.embeddedMapping

Annotation Element javax.jdo.annotations.Element Embedded[] embeddedMapping The embedded mapping for the element. Returns: the embedded mapping for the element Default value: {} Since: JDO 2.1
0

Persistent.name

Annotation Element javax.jdo.annotations.Persistent String name Name of the member when this is embedded in another object. The fully-qualified member name is used. For example, "line.point1.x" refers to the member x in class Point that is embedded as member point1 in class Line that is embedded in
0

javax.jdo.annotations.PersistenceCapable

: "" Since: JDO 2.1 String embeddedOnly Whether objects of this class or interface can only be embedded. Whether objects of this class or interface can only be embedded. 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