Course Image

Introduction To Hibernate

Hibernate

This course provides an introduction to the Hibernate ORM framework. You will understand the concept of Object Relational Mapping (ORM). You will learn to use Hibernate to write Java applications that connect to a relational database. You will also learn various JPA annotations that let you map classes to relational models.

Start Course

This course covers:

  • Understanding ORM
  • Using Hibernate to access and work with a database
  • Using JPA and Hibernate annotations
  • Mapping classes of various complexities to a relational database schema
  • Learning about the lifecycle of entities and how Hibernate works

UNIT

01

Getting Started

This unit introduces you to the Hibernate framework. You'll understand what ORM means and the role Hibernate plays as an ORM. You'll also create a simple working Java application that uses Hibernate to save an object to the database.

Introduction To Hibernate 13 minutes
Setting Up Hibernate 9 minutes
Writing a Hibernate Application 12 minutes
Writing the Model Class with Annotations 12 minutes
Saving Objects using Hibernate APIs 12 minutes

UNIT

02

Entity Mapping with JPA

In this unit, you'll start learning about JPA annotations - a way for you to map Java classes and its member variables into relational database tables.

hbm2ddl Configuration and Name Annotations 14 minutes
More Annotations 14 minutes
Retrieving Objects using session.get 9 minutes
Primary Keys 11 minutes
Value Types and Embedding Objects 13 minutes
AttributeOverrides and Embedded Object Keys 14 minutes

Downloads