Beginners guide to learn Hibernate from scratch

What you will learn

Installation of MySQL from scratch

CRUD operations

Types of Mapping

Eager vs Lazy Loading

Description

This course is a building block for anyone curious about hibernate and willing to learn the same. In short, if you are new to hibernate, this course will be very useful to you.

Hibernate is a framwork that provides the ORM Object to Relational Mapping. A framework for persisting or saving Java objects in a database. Developer has to define mapping between Java class and database table.

Pros:

  • Hibernate handles all of the low-level SQL
  • Minimizes the amount of JDBC code you have to develop
  • Provides the ORM Object to Relational Mapping

Pre-requisites(covered in course) :

1. Java IDE

2. Database Server

3. Hibernate Jar files

4. JDBC Driver

In this series, we will discuss following topics in a detail :

1. MySQL Installation

a: Download MySQL Installer

b: Install MySQL

c: Create Eclipse Project

d: Download Hibernate ORM Jars


Get Instant Notification of New Courses on our Telegram channel.


e: Download MySQL JDBC Driver Jar

f: Configure MySQL Server

g: Run MySQL Scripts

h: Test JDBC Connection

2. CRUD operations

a : Hibernate configuration

b : Annote Java Class

c : CRUD operation

3. Types of Mappings :

a. One to one Mapping (Unidirectional and Bidirectional)

b. One to many Mapping (Unidirectional and Bidirectional)

c. Many to many Mapping

4. Eager vs Lazy Loading

English
language

Content

Introduction

Introduction

MySQL Installation

MySQL Installation
Hibernate setup

CRUD Operations

CRUD Operations – Create and Read
Hibernate configuration properties
CRUD Operations – Update and Delete

One to one Mapping

One to one Uni Mapping
One to one Bi Mapping
Unidirectional or Bidirectional

One to many Mapping

One to many Bi Mapping
Eager vs Lazy Loading
Eager vs Lazy Laoding
One to many Uni Mapping

Many to many Mapping

Many to many Mapping