Master Hibernate and JPA with Spring Boot in 100 Steps

Learn Hibernate, JPA (Java Persistence API) and Spring Data JPA using Spring and Spring Boot

4.6|Reviews (13K)|verifiedIncluded in Subscription
radio_button_checkedPersonal Plan
₹375/mo
₹50025% OFF
Get this course and thousands more with a Personal Plan subscription.
radio_button_uncheckedIndividual Course
509350985% OFF
Keep the course forever with lifetime access and receive a certificate.
Team Plan₹2,000.00 a month per user
₹24,000/mo
Enterprise PlanCustom Pricing
Custom Pricing

Why choose Personal Plan?

check
28,000+ Courses
check
20,000+ Practice Exercises
check
9,000+ Top Instructors
check
Personalized Learning
verifiedGet this course for free with the Personal Plan subscription.
✓ Compare courses before making a decision
Check Latest Price →
Price may vary. Check latest price on provider site.

Course Insight

This course is for developers familiar with basics who want to master Hibernate, JPA, and Spring Boot fundamentals.

Intermediate FriendlyCertification FocusedSelf-Paced LearningProject-Based

SKILLS TO
MASTER

Component Design
Reusable React Components
State Mgmt.Trending
Redux & Context API
API Integration
RESTful Services & Fetching
HTML/CSS
JavaScript
Next.js
Git
TypeScript
Careers:Frontend Developer, Full Stack Developer, Web Engineer.

Quick Facts

Below sections are verified from last major sync. For real-time updates and today's latest lectures, Check official page here.

What You’ll Learn

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 t

horoughly 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

1. Step01 - Setting up a project with JDBC, JPA, H2 and Web Dependencies 2. Step02 - Launching up H2 Console 3. Step03 - Creating a Database Table in H2 4. Step04 - Populate data into Person Table 5. Step05 - Implement findAll persons Spring JDBC Query Method 6. Step06 - Execute the findAll method using CommandLineRunner 7. Step07 - A Quick Review - JDBC vs Spring JDBC 8. Step08 - Whats in the background? Understanding Spring Boot Autoconfiguration 9. Step09 - Implementing findById Spring JDBC Query Method 10. Step10 - Implementing deleteById Spring JDBC Update Method 11. Step11 - Implementing insert and update Spring JDBC Update Methods 12. Step12 - Creating a custom Spring JDBC RowMapper 13. Step13 - Quick introduction to JPA 14. Step14 - Defining Person Entity 15. Step15 - Implementing findById JPA Repository Method 16. Step16 - Implementing insert and update JPA Repository Methods 17. Step17 - Implementing deleteById JPA Repository Method 18. Step18 - Implementing findAll using JPQL Named Query

JPA/Hibernate in Depth

1. Step01 - Create a JPA Project with H2 and Spring Boot 2. Step02 - Create JPA Entity Course 3. Step03 - Create findById using JPA Entity Manager 4. Step04 - Configuring application.properties to enable H2 console and additional logging 5. Step05 - Writing Unit Test for findById method 6. Step06 - Writing a deleteByID method to delete an Entity 7. Step07 - Writing Unit Test for deleteById method 8. Step08 - Writing a save method to update and insert an Entity 9. Step09 - Writing Unit Test for save method 10. Step10 - Quick Review and Debugging Tips 11. Step11 - Playing with Entity Manager 12. Step12 - Entity Manager Methods - clear and detach 13. Step13 - Entity Manager Methods - refresh 14. Step14 - A Quick Review of Entity Manager 15. Step15 - JPQL - Basics 16. Step16 - JPA and Hibernate Annotations - @Table 17. Step17 - JPA and Hibernate Annotations - @Column 18. Step18 - JPA and Hibernate Annotations - @UpdateTimestamp and @CreationTimestamp 19. Step19 - JPA and Hibernate Annotations - @NamedQuery and @NamedQueries 20. Step20 - Native Queries - Basics 21. Step21 - Entities and Relationships - An overview 22. Step22 - Defining Entities - Student, Passport and Review 23. Step23 - Introduction to One to One Relationship 24. Step24 - OneToOne Mapping - Insert Student with Passport 25. Step25 - OneToOne Mapping - Retrieving Student with Passport and Eager Fetch 26. Step26 - OneToOne Mapping - Lazy Fetch 27. Step27 - Session vs Transaction 28. Step28 - OneToOne Mapping - Bidirectional Relationship - Part 1 29. Step29 - OneToOne Mapping - Bidirectional Relationship - Part 2 30. Step30 - ManyToOne Mapping - Designing the database 31. Step31 - ManyToOne Mapping - Retrieving and inserting Reviews for Course 32. Step32 - ManyToOne Mapping - Generalizing Insert Reviews 33. Step33 - ManyToOne Mapping - Wrapping up 34. Step34 - ManyToMany Mapping - Table Design 35. Step35 - ManyToMany Mapping - Adding Annotations on Entities 36. Step36 - ManyToMany Mapping - Fixing two join tables problem 37. Step37 - ManyToMany Mapping - Customizing the Join Table 38. Step38 - ManyToMany Mapping - Insert Data and Write Join Query 39. Step39 - ManyToMany Mapping - Retrieve Data using JPA Relationships 40. Step40 - ManyToMany Mapping - Insert Student and Course 41. Step41 - Relationships between JPA Entities - A summary 42. Step42 - Introduction to Inheritance Hierarchies and Mappings 43. Step43 - JPA Inheritance Hierarchies and Mappings - Setting up entities 44. Step44 - JPA Inheritance Hierarchies and Mappings - Setting up a Repository 45. Step45 - JPA Inheritance Hierarchies and Mappings - Single Table 46. Step46 - JPA Inheritance Hierarchies and Mappings - Table Per Class 47. Step47 - JPA Inheritance Hierarchies and Mappings - Joined 48. Step48 - JPA Inheritance Hierarchies and Mappings - Mapped Super Class 49. Step49 - JPA Inheritance Hierarchies and Mappings - How to Choose? 50. Step50 - JPQL - Courses without Students 51. Step51 - JPQL - Courses with atleast 2 Students and order by 52. Step52 - JPQL - Courses like 100 Steps 53. Step53 - JPQL - Using Joins 54. Step54 - Criteria Query - Retrieving all courses 55. Step55 - Criteria Query - Courses like 100 Steps 56. Step56 - Criteria Query - Courses without Students 57. Step57 - Criteria Query - Using Joins 58. Step58 - Introduction to Transaction Management 59. Step59 - Transaction Management - ACID Properties 60. Step60 - Understanding Dirty, Phanthom and Non Repeatable Reads 61. Step61 - Understand 4 Isolation Levels 62. Step62 - Choosing between Isolation Levels 63. Step63 - Implementing Transaction Management - 3 Things to Decide 64. Step64 - Introduction to Spring Data JPA 65. Step65 - Testing the Spring Data JPA Repository with findById. 66. Step66 - Spring Data JPA Repository - CRUD Methosd 67. Step67 - Sorting using Spring Data JPA Repository 68. Step68 - Pagination using Spring Data JPA Repository 69. Step69 - Custom Queries using Spring Data JPA Repository 70. Step70 - Spring Data REST 71. Step71 - Introduction to Caching 72. Step72 - Hibernate and JPA Caching - First Level Cache 73. Step73 - Hibernate and JPA Caching - Basics of Second Level Cache with EhCache 74. Step74 - Hibernate and JPA Caching - Second Level Cache Part 2 75. Step75 - Hibernate Tips - Hibernate Soft Deletes - @SQLDelete and @Where 76. Step76 - Hibernate Soft Deletes - Part 2 77. Step77 - JPA Entity Life Cycle Methods 78. Step78 - Using Embedded and Embeddable with JPA 79. Step79 - Using Enums with JPA 80. Step80 - JPA Tip - Be cautious with toString method implementations 81. Step81 - JPA Tip - When do you use JPA? 82. Step82 - Performance Tuning - Measure before Tuning 83. Step83 - Performance Tuning - Indexes 84. Step84 - Performance Tuning - Use Appropriate Caching 85. Step85 - Performance Tuning - Eager vs Lazy Fetch 86. Step86 - Performance Tuning - Avoid N+1 Problems

Hibernate Tips & Tricks

When does Hibernate send updates to the database?

When do we need @Transactional in an Unit Test?

Do read only methods need a transaction?

Why do we use @DirtiesContext in an Unit Test?

How to connect to a different database with Spring Boot?

How do you approach designing great applications with JPA?

Good Practices for developing JPA Applications

Start Learning Now.

Hit the Enroll Button!

See how this course curriculum compares with alternatives

Outcomes

  • 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.
See side-by-side differences in learning outcomes

Course Curriculum

19 sections • 170 lectures • 14h 0m total length

FAQs

Instructor

iO

in28Minutes Official

4.6 Rating505,628 Reviews1,908,685 Students57 Courses
in28Minutes Official DevOps, Azure, GCP, Docker, Kubernetes, Java & Spring Boot 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. 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 6) Master Java Web Services and RESTful API with Spring Boot 7) Go Serverless with AWS Lambda and Azure Functions We have courses focused on Java Frameworks ( Spring, Spring Boot , Spring MVC, Hibernate ). [LEARNING PATHS 00 to 06 for DevOps, Full Stack, Cloud, Spring Boot and Java in theFAQ below] We use Problem-Solution based Step-By-Step Hands-on Approach With Practical, Real-World Application Examples. We have a wide range of courses focused on Spring Boot - Creating APIs and Microservices, Deploying to Cloud ( AWS, Azure, Docker, Kubernetes, Azure ), and Integrating with Full Stack Front end frameworks ( React & Angular ). [LEARNING PATHS] [LEARNING PATH 00] - DevOps Master DevOps with Docker, Kubernetes and Azure DevOps [LEARNING PATH 01] - Spring and Spring Boot Web Applications & API Developer Spring Framework Master Class - Learn Spring the Modern Way! Learn Spring Boot in 100 Steps - Beginner to Expert Master Java Web Services and RESTful API with Spring Boot Master Hibernate and JPA with Spring Boot in 100 Steps Master Java Unit Testing with Spring Boot & Mockito [LEARNING PATH 02] - Full Stack Developer with Spring Boot, React and Angular Go Java Full Stack with Spring Boot and React Go Java Full Stack with Spring Boot and Angular [LEARNING PATH 03] - Cloud Microservices with Spring Boot, Docker & Kubernetes Master Microservices with Spring Boot and Spring Cloud Master Docker with Java - DevOps for Spring Microservices Master Kubernetes with Docker on Google Cloud, AWS & Azure [LEARNING PATH 04] - Cloud Developer with Spring Boot, AWS, Azure, and PCF Learn AWS - Deploy Java Spring Boot to AWS Elastic Beanstalk Master Azure Web Apps - Take Java Spring Boot Apps to Azure Master Pivotal Cloud Foundry with Spring Boot Microservices [LEARNING PATH 05] - Learn AWS with Microservices, Docker, and Kubernetes Learn AWS - Deploy Java Spring Boot to AWS Elastic Beanstalk Master AWS Fargate & ECS with Java Spring Boot Microservices Master Kubernetes with Docker on Google Cloud, AWS & Azure [LEARNING PATH 06] - GET AWS CERTIFIED AWS Certified Cloud Practitioner - Step By Step AWS Certified Developer Associate - Step By Step AWS Certified Solutions Architect Associate - Step By Step [OUR BELIEFS] Foundations for building high-quality applications are best laid down while learning. [OUR APPROACH] We use the 80-20 Rule. We discuss 20% of things used 80% of the time in depth. We touch upon other things briefly equipping you with enough knowledge to find out more on your own. Problem Solution based Step by Step Hands-on Learning.

Reviews

4.7 / 5 average rating from 13K+ learners

View detailed reviews on Udemy
Unsure about these reviews? Compare with other top courses

Deals

This course is currently available at a discounted price  509 3509 (85% OFF)  on Udemy. Udemy also offers deals on other courses from time to time — click below to explore

Explore Deals on Udemy →

Deals and prices are set by the provider and may change. Please check final details on the provider’s site.

Top Alternatives

Highly-rated courses worth your attention

Master Spring Data JPA with Hibernate: E-Commerce Project
4.6· 18h 59m
Intermediate
₹489₹3,40986% OFF
Learn Spring Boot 3 in 100 Steps - No 1 Java Framework
4.6· 17h 43m
Beginner
₹629₹4,37986% OFF
Build REST API with Spring Boot & Spring Data JPA
5.0· 7h 49m
Intermediate
₹549₹3,81986% OFF
Master Spring framework ORM, MVC, REST, Boot , JPA (in Hindi
4.5· 15h 49m
Intermediate
₹449₹1,86976% OFF
Master Java Web Services and REST API with Spring Boot
4.6· 14h 0m
Intermediate
₹629₹4,37986% OFF
Go Java Full Stack with Spring Boot and Angular
4.6· 14h 3m
Beginner
₹519₹3,59986% OFF
Master Hibernate and JPA with Spring Boot in 100 Steps
4.6(13K+ learners)