ORM WITH HIBERNATE

Learn Hibernate and JPA

Start learning Java persistence with, of course, Hibernate and JPA.

The JPA specification defines the standard for ORM (Object-Relational Mapping) in Java. And, of course, it’s most often paired in practice with its most popular implementation – Hibernate.

In this course, we’ll start from scratch and get a practical understanding of the two tools and how they’re connected. 

Then, we’ll learn how to map our domain, implement CRUD operations, define constraints, relationships, inheritance, handle different data types. Finally, we’ll dive into more advanced features like transactions, caching, and lazy loading. 

Entities
Relationships
Data Access
Transactions
Hibernate and JPA illustration

Course Outline

~ 12.5 HOURS
01

Introduction to Hibernate and JPA

3 LESSONS • ~ 2 HOURS
1.ORM Concepts and Introduction
2.The Project Overview
3.Setting up Hibernate and JPA
02

Mappings

6 LESSONS • ~ 4 HOURS
1.Entity Mappings
2.Mapping Relationships
3.Mapping Enum and Date Types
4.Advanced ID Mapping
5.Inheritance Mapping Introduction
6.Inheritance Mapping Advanced
03

Core Hibernate and JPA Concepts

5 LESSONS • ~ 4 HOURS
1.Basic CRUD Operations
2.Entity Relationships and Operations
3.The Entity Lifecycle
4.JPQL (Jakarta Persistence Query Language)
5.Criteria API
04

Exploring Hibernate and JPA Features

3 LESSONS • ~ 2.5 HOURS
1.Basics of Transactions and Concurrency
2.Basic Caching Mechanisms
3.Lazy vs. Eager Fetching

Access this course through Baeldung All Access

Our Full Course Library
IntelliJ Idea Ultimate (6 months free)
JProfiler (6 months free)
All Upcoming Courses (Roadmap)
Certificates of Completion
Multiple-Choice questions in Each Lesson
Pro Access
Explore All AccessYearly or the Lifetime access

Do you have a team who would benefit from taking the course?

Here are our team licenses

20-Day Money Back Guarantee

I believe strongly in the quality of the course material to teach you the fundamentals of the library. I've put a lot of work and care into the material and hope you're going to use it and to develop and maintain your applications.

I confidently back all courses with a 20-Day Money Back Guarantee. I want you to dive in deep and experience the full wealth of this resource without hesitation.

If the material isn't a good fit, just contact me within 20 days of purchase and ask for a full refund for any single course package.

Build 2026-11-20-6d79ad85b1b622b169c0848e5905526475fac4f4