About JPA

tutorial

JPA Web App Tutorial - Maven Project

The JPA Web Application tutorial for Tomcat / Jetty as a Maven project (download & run). The  JPA Web Application tutorial provides step by step instructions on how to build a simple Java/JPA database driven web application (for Tomcat / Jetty) in  Eclipse ... run the result application as a Maven project: JPA Web App - Maven Project (6KB) If  Maven is installed - ...

 
manual

JPA Entity Fields

Explains how to define and use primary keys in JPA, including composite and embedded primary keys.... modifier (which also affects serialization) or the JPA @Transient javax.persistence.Transient JPA annotation Specifies that the property or field is not persistent. ...

 
manual

Advanced JPA Topics

Describes advanced JPA topics - detached entity objects, lock management and entity lifecycle events. This section discusses advanced JPA topics: Detached Entity Objects Locking in JPA JPA Lifecycle Events Shared (L2) Entity Cache JPA Metamodel API ...

 
api-jpa

JPA 2 Annotations

Reference (JavaDoc) of all the JPA 2 annotations, including @Entity, @Embeddable, @NamedQuery, @GeneratedValue, etc. JPA defines dozens of annotations that can be divided into the following groups: Annotations for JPA aware classes: JPA Annotations for Classes JPA Annotations for JPQL Queries ...

 
tutorial

NetBeans/JPA Spring MVC Web Tutorial

Step by step tutorial that demonstrates how to build a Spring MVC Java web application (with Servlet, JSP and a DAO Bean) in NetBeans using JPA. This is the NetBeans version of the Spring MVC and JPA tutorial. It demonstrates how to create and run a full Java Spring ... View Controller) web application in NetBeans - using JPA, ObjectDB, Tomcat (or GlassFish) and Maven. The demo web application ...

 
tutorial

Eclipse/JPA Spring MVC Web Tutorial

Step by step tutorial that demonstrates how to build a Spring MVC Java web application (with Servlet, JSP and a DAO Bean) in Eclipse using JPA.... This is the Eclipse version of the  Spring MVC and JPA tutorial. It demonstrates how to create and run a ... Controller) web application in Eclipse - using ObjectDB, JPA, Tomcat (or GlassFish) and Maven. The demo web application manages ...

 
tutorial

Getting Started with JPA - Maven Project

The Getting Started with JPA tutorial as a Maven project (download & run). The Getting Started with JPA tutorial provides step by step instructions on how to build a simple JPA database driven application in Eclipse or NetBeans . Building a ... application as a Maven project: Getting Started with JPA - Maven Project (3KB) If  Maven is installed - extract the zip ...

 
manual

What's next?

References to further reading about JPA and ObjectDB. This chapter introduced the basic principles of using JPA with ObjectDB. You can dive into the details by reading the other chapters ... in this chapter. Getting Started with JPA and Eclipse Tutorial Getting Started with JPA and ...

 
manual

Chapter 1 - Quick Tour

Quick tour on how to use Java and JPA with the ObjectDB Object Database. This chapter demonstrates basic ObjectDB and JPA concepts by introducing a simple example program. After reading this ... chapter contains the following sections: Defining a JPA Entity Class Obtaining a JPA Database Connection CRUD Database Operations with JPA ...

 
manual

JPA Named Queries

Explains how to define and how to run JPA named queries.... @NamedQuery javax.persistence.NamedQuery JPA annotation Specifies a static, named query in the Java Persistence ... @NamedQuery javax.persistence.NamedQuery JPA annotation Specifies a static, named query in the Java Persistence ...