ObjectDB ObjectDB

Internal Website Search

181-190 of 200 resultsRefresh

Spring MVC JPA Tutorial - NetBeans Project

the application on GlassFish - change the transaction type from RESOURCE_LOCAL to JTA in

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)

, any 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)

a variable number of arguments of Predicate type and uses an AND conjunction as the WHERE clause content

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

Step 2: Entity Class and Persistence Unit

/xml/ns/persistence/persistence_2_0.xsd"> type

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

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