About JPA

101-110 of 200Refresh
Tutorial
37

Spring MVC JPA Tutorial - NetBeans Project [2011-09-25]

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
37

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
37

JPA Web App Tutorial - NetBeans Project [2011-09-25]

To open and run the JPA Web Application tutorial project in NetBeans: Download and extract the project zip file: JPA Web Application - Maven Project (6KB). Open the Maven project in NetBeans: Select File > Open Project.... Select the guestbook-web directory and click Open Project. Run the project
Tutorial
37

JPA Web App Tutorial - NetBeans Project

To open and run the JPA Web Application tutorial project in NetBeans: Download and extract the project zip file: JPA Web Application - Maven Project (6KB). Open the Maven project in NetBeans: Select File > Open Project.... Select the guestbook-web directory and click Open Project. Run the project
Tutorial
37

JPA Web App Tutorial - IntelliJ Project [2011-04-29]

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

JPA Web App Tutorial - IntelliJ Project

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

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 tutorial package node (in the [Projects] window) and selecting New > Java Class... Enter Point as the class name - use exactly that case sensitive
Manual
36

JPA Query Expressions (JPQL / Criteria)

] MEMBER [OF] and the [NOT] LIKE operator. Logical operators: AND, OR, NOT. In addition, JPA queries
Manual
36

DELETE Queries in JPA/JPQL

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

JPA Annotations for Fields

The way a field of a persistable class is managed by JPA can be set by the following annotations: Additional annotations (and enum) are designated for enum fields: Other additional annotations (and enum) are designated for date and calendar fields: Chapter 2 of the ObjectDB manual explains how to use all the above annotations.