Java Persistence API (JPA): 1 The Basics
1h 31mIntermediate2018-06-19
Authors

Kesha Williams
Software Engineering Manager, Speaker, Tech Blogger
Course details
The Java Persistence API (JPA) is the standard for mapping Java objects to relational databases. JPA provides several advantages over traditional data access methods like Java Database Connectivity (JDBC). In this practical course, Kesha Williams discusses these advantages and acquaints you with the basics of JPA, entity management, transaction management, and relationship mapping. Upon completing this course, you'll be equipped with a firm understanding of JPA and persisting data in Java enterprise applications.
Learning objectives
What is persistence?
JPA configuration and entities
Benefits of JPA over pure JDBC
Managing entities with the EntityManager API
Creating, persisting, reading, updating, and deleting objects
Managing transactions
Advanced mapping techniques using annotations
How to map relationships
Learning objectives
What is persistence?
JPA configuration and entities
Benefits of JPA over pure JDBC
Managing entities with the EntityManager API
Creating, persisting, reading, updating, and deleting objects
Managing transactions
Advanced mapping techniques using annotations
How to map relationships
Skills covered
Back-End Web DevelopmentJavaOracleWeb DevelopmentProgramming LanguagesSoftware DevelopmentDeep Dive (X:Y)
Concepts
0. Introduction
- 01 - Welcome
- 02 - What you should know
1. Understanding Java Persistence API (JPA)
- 03 - What is persistence
- 04 - Object relational mapping (ORM)
- 05 - JPA overview
- 06 - JPA configuration and entities
- 07 - Benefits of JPA over pure JDBC
- 08 - Looking at the course project
- 09 - Review course project tools
2. Managing Entities with EntityManager
- 10 - EntityManager
- 11 - Creating objects
- 12 - Persisting Objects
- 13 - Reading objects
- 14 - Updating objects
- 15 - Deleting objects
3. Transaction Management
- 16 - Entity life cycle
- 17 - Managing transactions overview
- 18 - Managing transactions demo
- 19 - Advanced mapping using annotations
4. Relationship Mapping in JPA
- 20 - Relationships
- 21 - Mapping strategies overview
- 22 - Mapping associations overview
- 23 - Cascading events
Conclusion
- 24 - Next steps