Simple play icon Course
Skills

Java Persistence API 2.2

by Antonio Goncalves

Learn how to map and query Java objects to a relational database in your Java SE and Java EE applications.

What you'll learn

Applications are made up of business logic, interaction with other systems, user interfaces . . . and data. Most data manipulated by our Java applications have to be stored in databases, retrieved, and analyzed. In this course, Java Persistence API 2.2, you will learn the principle of object-relational mapping (ORM) and use Java Persistence API (JPA) to map your Java objects into relational databases.

Table of contents

Course Overview
2mins

Course FAQ

What is JPA?

JPA stands for Java Persistence API, a Java application programming interface specification for accessing, persisting, and managing data between Java objects and a relational database. It lets you define which objects should be persisted and how.

Is JPA a framework?

JPA is not a framework by itself, but it does define concepts that can ultimately be implemented by any framework or tool.

What is JPQL?

JPQL stands for Java Persistence Query Language, a query language defined as part of the Java Persistence API specification. It is used for makinging queries on entities stored in a relational database.

What will I learn in this course?

In this course you will learn all about Java Persistence API 2.2, including such topics as:

  • What is persistence?
  • Manipulating persisted data with/without JPA
  • Understanding Java Persistence API
  • Default entity mapping
  • CRUD operations on an entity
  • Relationships and inheritance
  • Java Persistence Query Language (JPQL)
  • JPA 2.2 within Java EE 7
  • Much more
Are there prerequisites to this course?

This is an intermediate level course, so before taking it you should be familiar with the Java programming language and relational databases. If you need a refresher, or to take it for the first time, check out this Java course.

Who should take this course?

This course is great for anyone who wants to learn about JPA - Java Persistence API. If you want to learn how to map and query Java objects to a relational database in Java SE and Java EE applications, then this is the course for you.

About the author

Antonio is a senior software architect living in Paris. He started working in IT in 1992. Initially focused in C and C++ development, he switched to Java in the late 1990s. Antonio's career has taken him to different countries and companies where he now works as an independent Java EE consultant. As a former BEA consultant, he has great expertise in application servers such as Weblogic, JBoss and GlassFish. He is particularly fond of Open Source and is a member of the OOSGTP (Open Source Get Tog... more

Ready to upskill? Get started