Hibernate Basics, Beginners guide to learn Hibernate from scratch.
hort, 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
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