Hibernate ORM
Hibernate ORM is an object-relational mapping tool for the Java programming language. It provides a framework for mapping an object-oriented domain model to a relational database.
Introduction to Hibernate ORM
- What is ORM?
- Why Hibernate ORM?
- What is Hibernation ORM?
- Feature of Hibernate ORM
- Hibernate ORM Architecture
- Hibernate Configuration
- Most important topic
- Session
- SessionFactory
Hibernate ORM CRUD operations
- Create record(s)
- Retrieve record(s)
- Update record(s)
- Delete record(s)
Primary Keys support
- The @Id annotation
- Types of ID generation strategies
- GenerationType.AUTO
- GenerationType.IDENTITY
- GenerationType.SEQUENCE
- GenerationType.TABLE
Associations
- One to One
- One to One - unidirectional
- One to One - bidirectional
- One to Many
- One to Many - unidirectional
- One to Many - bidirectional
- Many to One
- Many to One - unidirectional
- Many to One - bidirectional
- Many to Many
- Many to Many - unidirectional
- Many to Many - bidirectional
The HQL (Hibernate Query Language)
- Create record(s) unsing HQL
- Retrieve record(s) unsing HQL
- Update record(s) unsing HQL
- Delete record(s) unsing HQL
Hibernate ORM Caching
- Overview on Hibernate ORM caching
- Types of Hibernate ORM Caching
- First Level Cache - Session
- Second Level Cache - SessionFactory