Back to Courses

Hibernate

Master ORM with Hibernate. Learn entity mapping, HQL, caching, and transactions.

2 Weeks
6 Modules

Course Curriculum

Module 1: Hibernate Basics

  • Introduction to ORM
  • Hibernate Architecture
  • Configuration & Setup
  • SessionFactory & Session
  • First Hibernate Application

Module 2: Entity Mapping

  • @Entity & @Table
  • Primary Key Generation
  • @Column Annotations
  • Transient & Embedded
  • Inheritance Mapping

Module 3: Associations

  • One-to-One Mapping
  • One-to-Many Mapping
  • Many-to-One Mapping
  • Many-to-Many Mapping
  • Cascade Types

Module 4: HQL & Criteria

  • HQL Basics
  • Named Queries
  • Criteria API
  • Native SQL
  • Pagination

Module 5: Caching

  • First Level Cache
  • Second Level Cache
  • Query Cache
  • Cache Providers
  • Cache Configuration

Module 6: Transactions

  • Transaction Management
  • ACID Properties
  • Isolation Levels
  • Optimistic Locking
  • Pessimistic Locking