Home » Search

About JPA

61-70 of 200Refresh
Tutorial
39

JPA Web Application Tutorial

This tutorial demonstrates how to create and run a database driven Java web application using Tomcat 6, ObjectDB and JPA. The demo web application manages a basic guestbook page. Every visitor ... below the form: Persistence is managed by JPA. Every visitor that has signed the guestbook is represented by
Tutorial
39

Spring MVC JPA Tutorial - Eclipse Project

To open and run the Spring MVC JPA tutorial project in Eclipse: Download and extract the project zip file: Spring MVC JPA - Maven Project (7KB). Open the Maven project in Eclipse: Select File > Import... > Maven > Existing Maven Projects and click Next. Select the guestbook-spring directory as Root
Tutorial
39

Spring MVC JPA Tutorial - IntelliJ Project

To open and run the Spring MVC JPA tutorial project in Download and extract the project zip file: Spring MVC JPA - Maven Project (7KB). Open the project in IntelliJ IDEA: Select File > Open Project.... Select the guestbook-spring directory and click OK. Define the Server: Select File > Settings
Tutorial
39

Spring MVC JPA Tutorial - NetBeans Project

To open and run the Spring MVC JPA tutorial project in NetBeans: Download and extract the project zip file: Spring MVC JPA - Maven Project (7KB). Open the Maven project in NetBeans: Select File > Open Project.... Select the guestbook-spring directory and click Open Project. Run the project: Select
Tutorial
39

Step 2: Define a JPA Entity Class

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the project node (in the [Package Explorer] window ... . The next step is adding a context listener class that will manage a JPA's EntityManagerFactory representing the ObjectDB database.
Tutorial
39

Step 2: Define a JPA Entity Class

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the project node (in the [Projects] window ... is adding a context listener class that will manage a JPA's EntityManagerFactory representing the ObjectDB database.
Manual
37

CRUD Operations with JPA

The following subsections explain how to use JPA for CRUD database operations:
Manual
37

DELETE Queries in JPA/JPQL

.Object class in queries (as an extension to JPA), so the following query can be used to delete
Tutorial
37

Java EE 6 JPA Tutorial - Eclipse Project

To open and run the Java EE 6 Web Application tutorial project in Eclipse: Download and extract the project zip file: Java EE 6 JPA Web App - Maven Project (6KB) Open the Maven project in Eclipse: Select File > Import... > Maven > Existing Maven Projects and click Next. Select the guestbook-jee6
Tutorial
37

Java EE 6 JPA Tutorial - IntelliJ Project

To open and run the Java EE 6 Web Application tutorial project in IntelliJ IDEA: Download and extract the project zip file: Java EE 6 JPA Web App - Maven Project (6KB). Open the project in IntelliJ IDEA: Select File > Open Project.... Select the guestbook-jee6 directory and click OK. Define