ObjectDB ObjectDB

Internal Website Search

21-30 of 162 resultsRefresh

Index Definition

; : } @Embeddable class Address { String street; String city; : } Indexes must always refer ... are only allowed when using embeddable classes as fields of embedded object are stored as part of the containing

JPA Persistence Unit

A JPA Persistence Unit is a logical grouping of user defined persistable classes (entity classes, embeddable classes and mapped superclasses) with related settings. Defining a persistence unit ... , embeddable classes and mapped superclasses), which are referred to by JPA as managed classes, as

JPA / JDO Class Enhancer

(entity classes, embeddable classes and mapped superclasses), and is usually optional ... . @Entity, @Embeddable) are enhanced by the Java Enhancer Agent. Therefore, when using

Comparison in JPQL and Criteria API

operators (=, <>, ==, !=). Instances of user defined classes (entity classes and embeddable classes ... have the same type and the same primary key value. For embeddable objects, e1 = e2 if e1 and e2


entities in the persistence unit. Since: JPA 2.0 EmbeddableType<X> embeddable(Class<X> cls) Return the metamodel embeddable type representing the embeddable class. Return the metamodel embeddable type representing the embeddable class. Parameters: cls - the type of the represented embeddable class


. May be used to override a relationship mapping from an embeddable within an entity to another entity when the embeddable is on the owning side of the relationship. When used to override a relationship mapping defined by an embeddable class (including an embeddable class embedded within another embeddable

Database Explorer

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

SELECT clause (JPQL / Criteria API)

and user defined embeddable objects) return as results value copies that are not associated

Entity Management Settings

class, which is not an entity class, mapped super class or embeddable class). The <cascade-persist

Posting Sample Code

/ embeddable classes. Avoid dependency on external libraries. Use a console application with a main method

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