JPA Tutorial - Java Persistence API


The Java Persistence API (JPA) is the Java standard for mapping Java objects to a relational database. Mapping Java objects to database tables and vice versa is called Object-relational mapping (ORM). The Java Persistence API (JPA) is one possible approach to ORM. Via JPA the developer can map, store, update and retrieve data from relational databases to Java objects and vice versa. JPA can be used in Java-EE and Java-SE applications.
Check out top hibernate ORM tutorial at Complete Hibernate Tutorial
JPA is a specification and several implementations are available. Popular implementations are Hibernate, EclipseLink and Apache OpenJPA.

In this tutorial, we will learn JPA in-depth with Hibernate as Implementation.

JPA Getting Started

  • JPA Entity Class Basics - Check out how to create JPA entity, what are rules to create JPA entity and what are features JPA Entity provides like cascading, lazy, relationships, inheritance, etc.
  • JPA Architecture - In this article, we will discuss the architecture(core classes and interfaces of Java Persistence API) of the JPA specification.
  • JPA 2 with Hibernate 5 Bootstrapping Example - The Java Persistence API (a.k.a. JPA) is a Java specification for managing, persisting and accessing data between objects and relational database. Hibernate is an ORM (Object Relational Mapping) tool which implements JPA specification.

JPA Entity Creation

  • JPA Entity Class Basics - Check out how to create JPA entity, what are rules to create JPA entity and what are features JPA Entity provides like cascading, lazy, relationships, inheritance, etc.

JPA/Hibernate Association Mapping

JPA Operations

 JPA Core Interfaces

Inheritance Mapping

JPA Interview Preparation

Comments

  1. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.

    Hibernate Training in Electronic City

    ReplyDelete
  2. Great! Thanks for sharing your examples.

    ReplyDelete

Post a Comment