Master Hibernate and JPA with Spring Boot in 100 Steps (Udemy.com)
Learn Hibernate, JPA (Java Persistence API) and Spring Data JPA using Spring and Spring Boot
Created by: in28Minutes Official
Last updated January 2026
What you will learn
- You will learn the basics of JPA and Hibernate - Entities, Relationships, Inheritance Mappings and Annotations
- You will understand approaches to querying data using JPA and Hibernate - JPQL, Criteria API and Native Queries
- You will understand JPA and Hibernate Relationships in depth - One to One, Many to One and Many to Many
- You will use a variety of Spring Boot Starters - Spring Boot Starter Web, Starter Data Jpa, Starter Test
- You will learn the basic of performance tuning your JPA application with Hibernate - Solve N+1 Queries Issue
- You will learn the basics of caching - First Level Cache and Second Level Cache with EhCache
- You will understand the basics of Spring Data JPA and Spring Data REST
How it compares
Against the other 101 rated Udemy courses in Java Spring Framework on CourseDuck:
- Rating4.3 out of 5higher than 23% of them
- Reviews14,036#8 of 102 by number of reviews
- Length14 hourslonger than 62% of them
- Last updatedJanuary 2026more recently than 53% of them
Course Description
Hibernate is the most popular Java ORM framework. Almost every Real World Project today uses JPA and Hibernate in combination with Spring Boot and Spring Data JPA.
Do you want to Learn JPA & Hibernate and use them in combination with Spring Boot and Spring Data JPA? Do you want to Learn about Entities, Relationships, Entity Manager, JPQL, Native Queries, Inheritance Hierarchies, Criteria API, Transaction Management, Caching and Performance Tuning with JPA & Hibernate in combination with Spring Data JPA and Spring Data REST?
WHAT OUR LEARNERS ARE SAYING:
5 STARS - I really loved this course. The instructor explains features of JPA and Hibernate clearly and also very deeply. Especially I liked explanation of the transaction management what I didn't seen in other courses.By the way this course helped me to develop the persistence layer of a commercial application for my customer.
5 STARS - Absolute brilliant course, I was struggling using books but this course helped me understand using code to demonstrate how Hibernate and JPA work. Each video builds on the next and is at a pace that does not overwhelm you. I thoroughly recommend this course if you need to improve your Hibernate and JPA knowledge.
5 STARS - It is really state of the art and how spring boot and hibernate are used nowadays! This course was very helpful in my new job, since in the project we use spring boot and hibernate. Thank you!
5 STARS - This course exceeded my expectations, I thought I knew about hibernate but I discovered I didn't, I really recommend this course.
5 STARS - Thanks Ranga for the wonderful course on Hibernate and JPA with Spring Boot! It's a long course and well worth it. Keep up the great work!
COURSE OVERVIEW
Hibernate is the most popular implementation of JPA. It was the most popular ORM framework option before JPA emerged and it provides additional features on top of JPA. We will use Hibernate as the JPA implementation in this course.
The Java Persistence API provides Java developers with an api for mapping java objects to relational data. In this course, you will learn about the Hibernate, JPA API, JPQL (Java Persistence query language), Java Persistence Criteria API and how you can perform ORM (Object Relational Mapping) with JPA and Hibernate.
During this course
You will learn the basics of JPA and Hibernate - Entities, Relationships, Inheritance Mappings and Annotations
You will understand approaches to querying data using JPA and Hibernate - JPQL, Criteria API and Native Queries
You will understand JPA and Hibernate Relationships in depth - One to One, Many to One and Many to Many
You will use a variety of Spring Boot Starters - Spring Boot Starter Web, Starter Data Jpa, Starter Test
You will learn the basic of performance tuning your JPA application with Hibernate - Solve N+1 Queries Issue.
You will learn the basics of caching - First Level Cache and Second Level Cache with EhCache
You will understand the basics of Spring Data JPA and Spring Data REST
COURSE HIGHLIGHTS
Journey from JDBC To JPA
Step01 - Setting up a project with JDBC, JPA, H2 and Web Dependencies
Step02 - Launching up H2 Console
Step03 - Creating a Database Table in H2
Step04 - Populate data into Person Table
Step05 - Implement findAll persons Spring JDBC Query Method
Step06 - Execute the findAll method using CommandLineRunner
Step07 - A Quick Review - JDBC vs Spring JDBC
Step08 - Whats in the background? Understanding Spring Boot Autoconfiguration
Step09 - Implementing findById Spring JDBC Query Method
Step10 - Implementing deleteById Spring JDBC Update Method
Step11 - Implementing insert and update Spring JDBC Update Methods
Step12 - Creating a custom Spring JDBC RowMapper
Step13 - Quick introduction to JPA
Step14 - Defining Person Entity
Step15 - Implementing findById JPA Repository Method
Step16 - Implementing insert and update JPA Repository Methods
Step17 - Implementing deleteById JPA Repository Method
Step18 - Implementing findAll using JPQL Named Query
JPA/Hibernate in Depth
Step01 - Create a JPA Project with H2 and Spring Boot
Step02 - Create JPA Entity Course
Step03 - Create findById using JPA Entity Manager
Step04 - Configuring application.properties to enable H2 console and additional logging
Step05 - Writing Unit Test for findById method
Step06 - Writing a deleteByID method to delete an Entity
Step07 - Writing Unit Test for deleteById method
Step08 - Writing a save method to update and insert an Entity
Step09 - Writing Unit Test for save method
Step10 - Quick Review and Debugging Tips
Step11 - Playing with Entity Manager
Step12 - Entity Manager Methods - clear and detach
Step13 - Entity Manager Methods - refresh
Step14 - A Quick Review of Entity Manager
Step15 - JPQL - Basics
Step16 - JPA and Hibernate Annotations - @Table
Step17 - JPA and Hibernate Annotations - @Column
Step18 - JPA and Hibernate Annotations - @UpdateTimestamp and @CreationTimestamp
Step19 - JPA and Hibernate Annotations - @NamedQuery and @NamedQueries
Step20 - Native Queries - Basics
Step21 - Entities and Relationships - An overview
Step22 - Defining Entities - Student, Passport and Review
Step23 - Introduction to One to One Relationship
Step24 - OneToOne Mapping - Insert Student with Passport
Step25 - OneToOne Mapping - Retrieving Student with Passport and Eager Fetch
Step26 - OneToOne Mapping - Lazy Fetch
Step27 - Session vs Transaction
Instructor Details
- 4.3 Rating
14,036 Reviews
in28Minutes Official
Ranga Karanam, the founder of in28minutes, has 2 decades of experience with technology - architecture, design, and programming. We are helping learners take their first steps into modern cloud native technology and gain expertise on AWS, Azure, Google Cloud, Docker, Kubernetes amongst others.
Our happiest moments are when learners tag us on LinkedIn or reach out to us with their stories of getting their first job, getting a promotion, or a big raise.
----------------------
Ranga is multi-cloud certified - Google Cloud Certified Professional Cloud Architect, Google Cloud Certified Associate Cloud Engineer, AWS Certified Cloud Practitioner, Azure Fundamentals Certified AZ-900, DP-900 and AI-900.
Our courses are focused on Cloud Certifications (AWS, Azure, Google Cloud Platform - GCP), DevOps, Full Stack ( React, Angular ), Serverless, Programming, and Microservice Development with Java and Spring Boot.
Our Top Courses include:
1) Master Microservices with Spring Boot and Spring Cloud
2) Java Programming for Complete Beginners
3) Google Cloud Certification - Associate Cloud Engineer - 2021
4) DevOps For Beginners - Docker, Kubernetes, and Azure DevOps
5) Spring Framework Master Class - Java Spring the Modern Way
More courses by in28Minutes Official
Master Microservices with Spring Boot and Spring Cloud (2026)
4.5 (60,531 Reviews)
Provider: Udemy
Time: 22.8h
$159.99
Java Programming for Complete Beginners (2026)
4.6 (54,293 Reviews)
Provider: Udemy
Time: 60.6h
$139.99
AZ-900 Microsoft Azure Fundamentals in a Weekend (2026)
4.6 (49,111 Reviews)
Provider: Udemy
Time: 11.6h
$129.99
GCP Associate Cloud Engineer - Google Cloud Certification (2026)
4.6 (38,020 Reviews)
Provider: Udemy
Time: 25.6h
$124.99
Spring Framework Master Class - Java Spring the Modern Way (2026)
4.5 (29,267 Reviews)
Provider: Udemy
Time: 14.7h
$139.99
Learn Java Unit Testing with Junit & Mockito in 30 Steps (2024)
4.6 (27,703 Reviews)
Provider: Udemy
Time: 5h
$16.99
More Java Spring Framework courses
Spring Boot Unit Testing with JUnit, Mockito and MockMvc (2026)
4.8 (4,042 Reviews)
Provider: Udemy
Time: 9.9h
$84.99
Spring WebFlux Masterclass: High-Performance Reactive APIs (2026)
4.8 (1,920 Reviews)
Provider: Udemy
Time: 13.3h
$84.99
Spring Security Zero to Master along with JWT,OAUTH2 (2026)
4.7 (11,228 Reviews)
Provider: Udemy
Time: 24.6h
$12.99
Kafka MicroServices with Spring Boot, Docker, Kubernetes, AI (2026)
4.7 (6,864 Reviews)
Provider: Udemy
Time: 27.2h
$11.99
Domain Driven Design & Microservices for Architects (2023)
4.7 (3,982 Reviews)
Provider: Udemy
Time: 12.7h
$10.99
Microservices with Spring Boot, Spring Cloud, Docker & Kafka (2026)
4.7 (3,777 Reviews)
Provider: Udemy
Time: 42.1h
$94.99
Reviews
By vlad krasnechenko on 6/11/2026
Well, i bought this course but started learn it too late to make refund. Why i wanted refund for this course: - I listened teacher in headphones and his speaking rate and pronunciation with indian accent which i couldnt listen because in some places he talk loud and fast but then some quiet and slow and all this happens again and againin different combinations... - old versions of java and hibernate from 2017. Teacher must update it because, for example, how hibernate works with new java records? - Didnt understand things because teacher couldnt tell about it. For example, annotation PersistenceContext just exist and why he injected EnityManager like that in 43th video but then he inject it through Autowired... - If i buy lectures i expect to receive explanations with schemas and pictures and animations to easy understand. But i got excel tables instead of EntityRelational model... - Idk why were spring data rest there. Just told about 1 mini-case. - I think that i dont need videos at the end of topics and which congratulated me and told me how to study better. Its just a lot of waste of my time. I think teacher should take them to separate free course to help his students in that way. - A lot of code in github repository and you must find examples by your own. I think if i payed money i must have examples one by one and got full code every time. It can be made with different branches or repos. - a lot of words. - 14.5hours is very large for this. - eclipse is not my choice For those who know something about spring and hibernate this course doesnt help. You'd better read something on your own. I dont understand why such high rating because you just buy videos.
By Rahul Khatick on 8/14/2024
Happy 78th Independence day to you and all community members. Words are less to express felling. You are one of those rare teacher for whom respect comes from heart. Every time I watch your videos, I learn many thing from it. I've enrolled to 5 courses of yours and till date there wasn't a single question unanswered. This shows that you really want us to learn and grow. Wish you good health, happiness and luck. I've nothing much to say, so 5 stars to rockstar "Guruji".
By Thierry BENDA on 1/4/2024
Bonjour. Un cours accessible, pour les débutants comme pour les professionnels qui révisent aussi parfois les bases. Les deux sections sur la mise en place du cache et l'optimisation furent la raison principale de mon achat, et ce fut d'excellentes révisions. Je recommande vivement ce formateur ainsi que John Thompson, si vous comprenez l'anglais à l'oral, bien entendu. Merci, et bonne journée à vous ! Thierry
By Adrian Joseph on 8/16/2023
I had a little experience in Java REST SpringBoot application since I've previously worked on it during my internship days and still wasn't understanding the concepts of Spring Data from JDBC to JPA. Now with this course and couple of hands-on experience, I fully understand and able to grasp the knowledge in Spring Data JDBC and JPA. I would seriously recommend developers who going to approach Spring Boot to further understand the concepts and features used in Spring Data JDBC and JPA and this course is no exception. Great course!
By David Phan on 3/8/2023
The course covered a lot of topics - from the dawn of objects-relational mapping (using old technologies) to what we should use in modern day. Many people may be turned off by old materials, but having a good knowledge of those will give you a better understanding and appreciation of how things are today. Ranga is definitely a very good teacher. The pace of teaching is very reasonable and the examples are straight forward.
By Nitish Jain on 1/10/2021
This course is really amazing, being a beginner to Hibernate, I can confidently say that I have learnt a lot from this course which is certainly going to help in my professional career. I really appreciate the way of explaining every small details which is required. I am looking forward to subscribe for other courses of 'in28minutes' like Microservices, Full stack development and Clean code with Java.
By Eric Rybarczyk on 9/27/2020
This is an excellent course. Ranga explains these topics in a very clear way, and with good examples. The course is quite comprehensive, and I feel much more comfortable in these programming areas now that I have completed the course. I think it will be helpful if you have a basic understanding of SQL and relational databases, but advanced knowledge is not required. Many topics in JPA and Hibernate are explained in the course partly by showing the SQL statements that are generated by Hibernate, so understanding basic SQL really helps. (I had only simple experience with JPA and Hibernate before this course, but I have worked with SQL Server in C# for many years, and I have used Java for about three years now.) Also, although the instructor uses Eclipse, I used IntelliJ with no difficulty (I am familiar with Spring development using IntelliJ). If you take the course, be sure to complete it - after all the good topics in the main part of the course, the final modules on caching, performance tuning and other development tips were very useful. I do think a few more complicated entity persistence examples could be added to the course, and using asserts in the JUnit tests instead of just logging and debugging would be better.
By Saiteja Gatadi on 5/4/2020
This course was designed with lot of small steps when compared to the other 5 courses that i've completed.. the smaller steps created an enthusiasm as well as made me to enjoy the learning even though there were 153 steps... Thank You So much RangaSir for your courses and for your patience for even explaining a minute bit.. Completed 6 of your courses in this lockdown period. Awaiting to complete your other Courses from MyCourses section...
By Vladimír Korček on 3/11/2020
This is very good course. Though I am not newbies in the Java web development and have experience with Spring Framework, Hibernate etc., this course gave me a lot, helped me refresh information and understand more deeply JPA, Hibernate and other important things used in developing Spring applications. I like also teacher style and explanation which is detailed and good to understand. Thanks a lot for it.
By Anonymized User on 12/24/2018
Could understand the very basic of Hibernate. Since it was a course of Hibernate and JPA there were too many unwanted Spring lectures. I think it was almost equal no of such lectures, which I didn't want in this course. A lot of use of outdated things. Too much focus on Spring instead of Hibernate and JPA.
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 86 / 100












