Hibernate ORM - a quick start guide by Vinod Kayartaya

Hibernate ORM - a quick start guide

20 lectures - 1 hr 12 mins

What's included?

Video Icon 18 videos

Course content

Course intro
2 mins
Software setup
2 mins
Setting up H2 database
3 mins
Getting started with a Hibernate project
Creating the Maven project in Eclipse with Hibernate ORM dependencies
4 mins
Creating the Category entity class
5 mins
Creating the HibernateUtil class for getting a SessionFactory
9 mins
CRUD operations
Persisting a Category instance into RDBMS
6 mins
Retrieving the Category instance from the RDBMS
3 mins
Updating a Category description
5 mins
Deleting a Category entity
3 mins
Entity associations
Many-to-one association between Product and Category entities
9 mins
One-to-many association between Category and Product entities
7 mins
Hibernate Query Language
Get all categories
5 mins
Get products by price range
4 mins
3 mins
3 mins
Aggregate functions
2 mins
Bulk update
4 mins


  • Basic knowledge of Core Java
  • Knowledge of SQL commands would help, but absolutely not necessary
  • Enthusiasm to learn :-)

What will you learn in this course?

  • Object Relational Mapping concepts
  • Create a Maven project in Eclipse with Hibernate dependencies
  • Explore the Session API
  • Perform CURD operations using the Session API
  • Understand Hibernate Transactions
  • Query for entity objects
  • Do bulk update and delete operations

Who this course is for:

  • Java Developers
  • People interested in migrating from other ORM tools like MyBatis
  • .Net developers who want to compare the Entity Framework with Hibernate
  • Middleware developers who want to refine their DAO layer
  • Anyone who is interested in learning new things :-)


Undoubtedly, Hibernate is the most popular Java ORM framework.  Almost every Real World Project today uses Hibernate.

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 Hibernate - Entities, Relationships, and Annotations
  • You will understand approaches to querying data using Hibernate Query Language
  • You will understand JPA and Hibernate Relationships - Many to One and One to Many

All the best!

Hi. My name is Vinod

Hi, my name is Vinod, and I am a software trainer, consultant and freelance developer. I am the creator some of the highest rated courses on Udemy. In my professional career, I have trained hundreds of thousands of software engineers. Teaching is not only my profession, but also a passion. Creating online courses gives me the opportunity to reach and help students across the world.