ObjectDB ObjectDB

Internal Website Search

181-190 of 200 resultsRefresh

JPA Metamodel API Attributes

The following interfaces and enum types represent attributes (persistent fields and properties) in the JPA Metamodel API: See the Metamodel Attribute Interface Hierarchy section for more details and examples.

ORDER BY clause (JPQL / Criteria API)

JPQL expression whose type is comparable (i.e. numbers, strings and date values) and is derived

JPA Queries

a cleaner alternative that enables building a dynamic query by using instances of special types

WHERE clause (JPQL / Criteria API)

)); Multiple Restrictions The second where method takes a variable number of arguments of Predicate type

Detached Entity Objects

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

JPA Annotations for Classes

JPA defines three types of persistable classes which are set by the following annotations: Chapter 2 of the ObjectDB manual explains these annotations in detail. Entity and mapped super classes can be further configured by annotations that specify cache preferences and lifecycle event listener

JPA Annotations for Relationships

annotation enables configuring cascade and fetch policy, using the following enum types: Additional

ObjectDB Overview

. Can easily be embedded in applications of any type and size. Tested with Tomcat, Jetty, GlassFish, JBoss

Retrieving JPA Entity Objects

retrieval by using a lazy fetch type: @Entity class Employee { : @ManyToOne(fetch=FetchType

Step 2: Entity Class and Persistence Unit

/xml/ns/persistence/persistence_2_0.xsd"> <persistence-unit name="GuestbookPU" transaction-type

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