From the course: Java EE 8 Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
JPA overview - Java EE Tutorial
From the course: Java EE 8 Essential Training
JPA overview
- [Instructor] The Java Persistence API, or JPA, is a Java EE API for accessing, persisting, and managing Java objects and a relational database. It is one of my favorite APIs because it makes it incredibly simple to perform CRUD operations against a relational data store. JPA supports object-relational mapping, which is a technique for using an annotated object model for persisting data to a relational database. This greatly simplifies how we read, write, update, and delete data in a database from our Java applications, which is also known as data persistence. Using object-relational mapping, it is possible to write Java applications that interact with a relational database without writing any SQL. When using JPA, developers only work with objects and the underlying SQL is handled by the JPA provider. It is important to note that JPA is just a specification or API. The underlying implementation is built by JPA providers.…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.