About JPA

tutorial

Eclipse/JPA Java EE 6 Tutorial

Step by step tutorial that demonstrates how to build a simple Java EE web application (with Servlet, JSP and an EJB Session Bean) in Eclipse using JPA. This is the Eclipse version of the Java EE JPA tutorial. It demonstrates how to create and run a ... web application in Eclipse - using GlassFish, ObjectDB and JPA. The demo web application manages a basic guestbook page. Every ...

 
tutorial

Step 2: Define a JPA Entity Class

Explains how to create a JPA entity class in the NetBeans IDE. To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog ... Besides the @Entity javax.persistence.Entity JPA annotation Specifies that the class is an entity. See JavaDoc ...

 
manual

Chapter 4 - JPA Queries (JPQL / Criteria)

Describes the Java Persistence Query Language (JPQL), the JPA Criteria API, and explains how to use queries in JPA. The JPA Query Language (JPQL) can be considered as an object oriented version of ... chapter explains how to use JPQL as well as how to use the JPA Criteria API, which provides an alternative way for building queries in JPA, based on JPQL. The first section describes the API that JPA ...

 
manual

Shared (L2) Entity Cache

Explains how to set and use the EntityManagerFactory's shared cache (L2 / level 2) in JPA 2.... javax.persistence.EntityManager JPA interface Interface used to interact with the persistence context. ... 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 ...

 
tutorial

Java EE 6 JPA Tutorial - Eclipse Project

Opening a Java EE 6 JPA Maven web application project in the Eclipse IDE.... and extract the project zip file: Java EE 6 JPA Web App - Maven Project (6KB) Open the Maven project in ...

 
tutorial

Java EE 6 JPA Tutorial - NetBeans Project

Opening a Java EE 6 JPA Maven web application project in the NetBeans IDE.... and extract the project zip file: Java EE 6 JPA Web App - Maven Project (6KB) . Open the Maven project in ...

 
manual

Storing JPA Entity Objects

Explains how to use JPA to store (persist) entity objects in the database.... javax.persistence.EntityManager JPA interface Interface used to interact with the persistence context. ... javax.persistence.TransactionRequiredException JPA exception Thrown by the persistence provider when a transaction is ...

 
tutorial

Java EE 6 JPA Tutorial - IntelliJ Project

Opening a Java EE 6 JPA Maven web application project in the IntelliJ IDEA.... Download and extract the project zip file: Java EE 6 JPA Web App - Maven Project (6KB) . Open the project in IntelliJ IDEA: ...

 
forum_thread

Problems with Tutorials » JPA Web App (Tomcat) » NetBeans JPA Web App

I made all the tutorial about the GuestBook but at the end, though it build correctly, when trying to run it, I got: C:\...\NetBeansProjects\JavaWebAppODB\nbproject\build-impl.xml:686: The module has not been deployed. BUILD FAILED (total time: 0 seconds) Can any body please help me with this error? It seems I've done everything correctly, but I still don´t know how to solve the problem, cheers, and thank you in advance,   Alan #1 2011-04-22 20:05 I made all the tutorial about the GuestBook but at the end, though it build correctly, when trying to run it, I g ...

 
api-jpa

javax.persistence.Query

Interface used to control query execution.(Interface of JPA)