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.
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
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.
Course Overview Hi everyone. My name is Antonio Goncalves. Welcome to my course, Java Persistence API 2.2. I am an independent developer, a book author, and a recognized Java Champion. I also like to speak at international conferences about my favorite topics, Java EE and microservices. So you know Java EE or Spring, and you've been asked to map objects to a relational database and query them. This course is for you. In this course, you will learn Java Persistence API, one of the most used Java EE specification. Some of the major topics that I will cover include understanding JPA and its advantages over pure JDBC; managing entities with CRUD operations, that's one of the beauties with JPA, a single line of code that you can insert, find, update, or delete an object; mapping simple entities, as well as relationships or inheritance; querying entities with the powerful Java Persistence Query Language; I will also cover some more advanced features such as Entity Lifecycle, callbacks, and listeners; finally, you will put all of these pieces together so you can bring JPA to your Java EE or Spring project. By the end of this course, you will have a very good understanding of the possibilities brought by JPA. Before beginning the course, you should be familiar with the Java programming language, as well as relational databases. This course will guide you through all the major points covered by JPA. I hope you'll join me on this journey to learn object relational mapping with the Java Persistence API 2.2 course at Pluralsight.