JPA - API (Programming Model)

Card Puncher Data Processing


JPA is a specification that deals with object/relational mapping and data persistence between Java and databases.

Principal Components

When developing an application, you need to know how to use the following application components:

To further simplify the persistence programming model:

  • The EntityManager is used to perform Create Read Update Delete (CRUD) operations that involve entities.
  • The EntityManager API and object-relational mapping meta-data handle most of the database operations without requiring you to write JDBC or SQL code to maintain persistence
  • JPA provides a query language, extending the independent EJB querying language (also known as JPQL), that you can use to retrieve objects without writing SQL queries specific to the database you are working with.

JPA is based on the Java programming model that applies to Java EE environments, but JPA can function within a Java SE environment. See JPA - Entity Manager

Documentation / Reference

Discover More
Card Puncher Data Processing
JPA - Java Persistence API (JPA)

API The Java Persistence API is the Java API for the management of persistence and object/relational mapping for: Java EE and Java SE environments The Java Persistence consists of: The Java...

Share this page:
Follow us:
Task Runner