ObjectDB ObjectDB

Internal Website Search

71-80 of 200 resultsRefresh
69

Getting Foreign Key

level primary key but i also nead to get foreign key which is belongs to header. WriteObjectQuery ... got pojo name query.getPrimaryKey() by using this i can get primary key now i nead to get foreighn ... How to get Foreign key using org.eclipse.persistence.queries.WriteObjectQuery class ..? please help
15

JPA Persistable Types

, however, do not have an identity (primary key) of their own which leads to some limitations (e.g ... and keys and values in maps) are either null values or instances of persistable types. In addition
13

Storing JPA Entity Objects

already contains another entity of the same type with the same primary key, an EntityExistsException
13

Detached Entity Objects

. same type and primary key). If the EntityManager does not manage such an entity object yet a new
13

JPA Metamodel API

on the primary key and the version attributes and the super type. For example: // Get the super type
13

Shared (L2) Entity Cache

and primary key: em.find(MyEntity2.class, Long.valueOf(1),      Collections.<String,Object
13

Comparison in JPQL and Criteria API

have the same type and the same primary key value. For embeddable objects, e1 = e2 if e1 and e2
13

JPA Exceptions

) . For example, if a transaction fails because of an attempt to store a new entity object with a primary key that is already in use by another existing entity object, the nested exception is: Other common
13

javax.persistence.JoinColumn

field of the referencing entity or embeddable class; "_"; the name of the referenced primary key column ... : the name of the entity; "_"; the name of the referenced primary key column. Default value: "" Since: JPA ... the collection. Default (only applies if single join column is being used): The same name as the primary key
1

javax.jdo.annotations.PrimaryKey

get methods) Annotation on a member to define it as a primary key member of a class or persistent interface using application identity. Also used to define the primary key columns of a secondary table. Corresponds to the xml element "primary-key". Since: JDO 2.1 String column Name of the column 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