Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Java Persistence with JPA

via LinkedIn Learning

Write review

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
Learn how to work with the Jakarta Persistence API (JPA), the standard for building Java enterprise applications that need to have persistent data.

Syllabus

Introduction
  • Map Java objects to databases
  • What you should know
  • Reviewing the course project
1. Understanding JPA
  • Exploring the history of JPA
  • Leveraging Object-Relational Mapping (ORM)
  • Understanding JPA and its benefits
  • Demo: Configuring JPA
  • Demo: Reviewing JPA annotations
  • Challenge: Create simple employee, company, and salary classes
  • Solution: Create simple employee, company, and salary classes
2. Managing Entities
  • What is an entity?
  • Demo: Working with the entity manager
  • Demo: Persisting entities
  • Mapping keys
  • Demo: Mapping keys
  • Implementing CRUD operations
  • Demo: CRUD operations
  • Challenge: Persist employee, company, and salary entities
  • Solution: Persist employee, company, and salary entities
3. Exploring Entity Relationships
  • What are entity relationships?
  • Annotating a one-to-one relationship
  • Demo: Annotating a one-to-one relationship
  • Annotating a one-to-many relationship
  • Demo: Annotating a one-to-many relationship
  • Annotating a many-to-one relationship
  • Demo: Annotating a many-to-one relationship
  • Annotating a many-to-many relationship
  • Demo: Annotating a many-to-many relationship
  • Utilizing inheritance mapping strategies
  • Demo: Utilizing inheritance mapping strategies
  • Challenge: Implement a many-to-many relationship
  • Solution: Implement a many-to-many relationship
4. Understanding Transactions
  • What is a transaction?
  • Managing transactions
  • Demo: Managing transactions
  • Challenge: Manage a transaction
  • Solution: Manage a transaction
5. Querying Entities
  • Querying with the Jakarta Persistence Query Language (JPQL)
  • Demo: Querying with JPQL
  • Using native queries
  • Demo: Querying with native queries
  • Leveraging the Criteria API
  • Demo: Leveraging the Criteria API
  • Challenge: Query an entity using JPQL
  • Solution: Query an entity using JPQL
Conclusion
  • Good luck on your JPA journey

Taught by

Kesha Williams

Reviews

4.7 rating at LinkedIn Learning based on 180 ratings

Start your review of Java Persistence with JPA

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.