About JPA
Getting Started with JPA
Getting started tutorial for step by step quick start with using Java Persistence API (JPA).... This tutorial demonstrates how to create and run a simple JPA application. The demonstrated application uses JPA to store and retrieve simple Point entity objects, where ...
JPA Tutorials
Tutorials for using JPA and ObjectDB in Eclipse and NetBeans (console applications, web application, Java EE 6 applications).... how to develop database driven applications using JPA and the ObjectDB ODBMS (Object Oriented Database Management System). Console JPA Tutorial The Quick Start tutorial demonstrates how to use ObjectDB ...
JPA Query API
Describes the API that JPA provides for running queries against the database. Queries are represented in JPA 2 by two interfaces - the old Query javax.persistence.Query JPA interface Interface used to control query execution. See JavaDoc ... the only interface available for representing queries in JPA 1, and the new TypedQuery javax.persistence.TypedQuery JPA ...
Database Connection using JPA
Describes the main JPA interfaces: EntityManagerFactory, EntityManager and EntityTransaction. Working with the Java Persistence API (JPA) consists of using the following interfaces: This page covers the ... javax.persistence.EntityManager JPA interface Interface used to interact with the persistence context. ... javax.persistence.EntityManagerFactory JPA interface Interface used to interact with the entity manager factory ...
JPA Reference (JavaDoc)
Java/JPA API Reference (based on the JPA 3 JavaDoc)... (similar to JavaDoc) of the Java Persistence API (JPA) 2.0. The content is derived from the original JPA documentation (in the EclipseLink JPA 2 RI) with some additions and notes. ...
Chapter 3 - Using JPA
Explains how to store, retrieve, update and delete entity objects using JPA.... manage ObjectDB databases using the Java Persistence API (JPA). The first two pages introduce basic JPA interfaces and concepts: Database Connection using JPA ...
CRUD Database Operations with JPA
Shows how to use Java/JPA to store, retrieve, update & delete.... javax.persistence.EntityManager JPA interface Interface used to interact with the persistence context. ... Reference Page... , em , that represents a JPA connection to the object database, we can use it to store, retrieve, update ...
JPA Metamodel API
Explains how to use the JPA Metamodel API to retrieve details on the types and attributes of the persistent object model. The JPA Metamodel API provides the ability to examine the persistent object model ... The Metamodel Interface The main interface of the JPA Metamodel API is Metamodel javax.persistence.metamodel.Metamodel JPA interface Provides access to the metamodel of persistent entities in ...
Chapter 2 - JPA Entity Classes
Explains how to define and use JPA entity classes and other JPA persistable types. JPA Entity classes are user defined classes whose instances can be stored in a database. To store data in an ObjectDB database using JPA you have to define entity classes that represent your application data ... This chapter contains the following sections: JPA Persistable Types JPA Entity Fields JPA Primary Key ...
JPA Criteria API Queries
Explains how to use the JPA Criteria API (CriteriaBuilder, CriteriaQuery, etc.) to build JPQL like queries. The JPA Criteria API provides an alternative way for defining JPA queries, which is mainly useful for building dynamic queries whose exact ... This page covers the following topics: JPA Criteria API vs JPQL First JPA Criteria Query ...