About JPA

51-60 of 200Refresh
Tutorial
39

Getting Started with JPA - NetBeans Project

To open and run the Quick Start with JPA tutorial project in NetBeans: Download and extract the project zip file: Getting Started with JPA - Maven Project (3KB) Open the Maven project in NetBeans: Select File > Open Project.... Select the points-console directory and click Open Project. Run
Tutorial
39

Java EE 6 JPA Tutorial - Maven Project

The Java EE 6 Web Application tutorial provides step by step instructions on how to build a simple Java/JPA database driven web application (for GlassFish 3/ JBoss 6) in Eclipse or NetBeans. Building ... and run the result application as a Maven project: Java EE 6 JPA Web App - Maven Project (6KB
JPA Doc
39

JPA Annotations for Access Modes

Persistence fields can either be accessed by JPA directly (as fields) or indirectly (as properties and get/set methods). JPA 2 provides an annotation and an enum for setting the access mode: More details are provided in chapter 2 of the ObjectDB manual.
JPA Doc
39

JPA Annotations for Classes

JPA defines three types of persistable classes which are set by the following annotations: Chapter 2 of the ObjectDB manual explains these annotations in detail. Entity and mapped super classes ... policy (as explained in chapter 3): Another JPA class annotation defines an ID class: ID classes
JPA Doc
39

JPA Annotations for Java EE

The following JPA annotations are in use to integrate JPA into a Java EE application and are managed by the Java EE container:
JPA Doc
39

JPA Annotations for JPQL Queries

The following annotations are used to define static named JPA queries: The JPA Named Queries section of the ObjectDB Manual explains and demonstrates how to use these annotations to define named JPQL queries.
JPA Doc
39

JPA Annotations for Mapping (ORM)

The following JPA annotations and enums are designated for mapping a JPA object model to a relational database, and are not required by ObjectDB: ObjectDB silently ignores all the above annotations.
JPA Doc
39

JPA Annotations for SQL Queries

The following JPA annotations are designated for SQL queries on relational databases: ObjectDB supports only the preferred JPA query language, JPQL, and silently ignores all the above annotations.
JPA Doc
39

JPA Exceptions

JPA exceptions are represented by a hierarchy of unchecked exceptions: java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException ... of the JPA exception class subtree is: General errors are represented directly by
Manual
39

JPA Metamodel API

The JPA Metamodel API provides the ability to examine the persistent object model and retrieve details on managed classes and persistent fields and properties, similarly to the ability that Java reflection provides for general Java types. The Metamodel Interface The main interface of the JPA