About JPA

manual

Obtaining a JPA Database Connection

Shows how to use Java/JPA to connect to the ObjectDB Object Database. In JPA a database connection is represented by the EntityManager javax.persistence.EntityManager JPA interface Interface used to interact with the persistence context. ... javax.persistence.EntityTransaction JPA interface Interface used to control transactions on resource-local ...

 
page

What is the Java Persistence API (JPA)?

The Java Persistence API (JPA) is a standard API for accessing databases from within Java applications. The main advantage of JPA over JDBC (the older Java API for interacting with databases) is that in JPA data is represented by classes and objects rather than by tables and ...

 
tutorial

Spring MVC and JPA Tutorial

Step by step tutorial that demonstrates how to build a Spring MVC Java web application (with Servlet, JSP and a DAO Bean) using JPA.... Controller) web application using Tomcat (or GlassFish), JPA, ObjectDB and Maven. The demo web application manages a basic ... listed below the form: Persistence is managed by JPA. Every visitor that has signed the guestbook is represented by a  ...

 
manual

Defining a JPA Entity Class

Shows how to define a JPA entity class in order to store objects in the database.... be able to store Point objects in the database using JPA we need to define an entity class . A JPA entity class is a POJO (Plain Old Java Object) class, i.e. an ordinary Java ...

 
tutorial

Getting Started with JPA and Eclipse

Getting started tutorial for quick start with using Java Persistence API (JPA) in Eclipse. This is the Eclipse version of the Quick Start with JPA tutorial. It demonstrates how to create and run a simple JPA application in Eclipse. The demonstrated application uses JPA to store and ...

 
tutorial

Getting Started with JPA and NetBeans

Getting started tutorial for quick start with using Java Persistence API (JPA) in NetBeans. This is the NetBeans version of the  Quick Start with JPA tutorial. It demonstrates how to create and run a simple JPA application in NetBeans. The demonstrated application uses JPA to store and ...

 
page

Which API should I use - JPA or JDO?

... You can use ObjectDB with either the Java Persistence API (JPA) or the Java Data Objects (JDO) API. Both share similar architecture, design and abilities. When to prefer JPA JPA is more commonly used. Therefore, it might be the first choice for most new ...

 
manual

JPA Lifecycle Events

Explains how to use JPA lifecycle events (client side triggers) with callback methods and listener classes.... entity lifecycle events and are invoked automatically by JPA when these events occur. This page covers the following ... @Entity javax.persistence.Entity JPA annotation Specifies that the class is an entity. See JavaDoc ...

 
manual

Working with JPA Entity Objects

Explains the entity object lifecycle and the persistence context.... Managing an ObjectDB Object Database using JPA requires using entity objects for many operations, including storing, ... 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 ...

 
api-jpa

javax.persistence.criteria.CriteriaBuilder

Used to construct criteria queries, compound selections, expressions, predicates, orderings.(Interface of JPA)