Quick Enquiry
Hibernate is a widely used and essential tool for Java developers. Our Hibernate course content focuses on practical application of Hibernate in real-world scenarios, covering best practices, common use cases, and industry-standard techniques. You’ll gain hands-on experience with Hibernate syllabus through practical exercises and projects, preparing you for successful integration of Hibernate into your own Java applications and contributing to your professional development. Our Java Hibernate course content is designed for beginners and professionals.
Course Syllabus
Download SyllabusIntroduction To Hibernate
- Issues With Persistence Layers And Object-Relational Mapping (ORM)
- Hibernate Overview And Benefits
- Hibernate Architecture Overview
- POJO (Plain Old Java Object) Based Mapping
Getting Started With Hibernate Quickly
- Overview Of The Hibernate Distribution
- Configuring Hibernate
- Hibernate.Cfg.Xml File
- SessionFactory Configuration
- Connection Properties, Database Dialect
- Configuration Class, Session Interface
- “Hello World” Program For Hibernate
- Mapping A Class
- Persistent Entity Class, Hibernate Mapping
- File, Mapping The Entity Class
- Primary Keys: Id Property, Generated Id
- Hibernate Type System
- Working With Sessions And Persistent Objects
- Logging – Log4j Overview And Configuration For Hibernate
Querying
- Inserting And Updating Entities
- HQL – Hibernate Query Language Overview
- The Query Interface
- Creating And Working With Queries
- Named Queries, Projection Queries, Aggregate Queries
The Persistence Lifecycle
- Transaction Overview And Transactions In Hibernate
- Hibernate Transaction API (In Managed And Non-Managed Environments)
- The Lifecycle Of Managed Objects
- Persistent, Transient, And Detached Objects
- The Persistence (Session) Context (Lifespan, Relation To Managed Objects,
Propagation) - Contextual Sessions
- Synchronization To The Database
- The Session As Cache
Relationships
- Object Relationship Overview
- Mapping Collections Of Value Objects
- Entity Relationships: 1-N, N-1, N-N, 1-1
- Mapping Entity Relationships
- Uni And Bi-Directional Relationships
- The Relationship “Inverse”
- Cascading Over Relationships
- Queries Across Relationships (Lazy And Eager)
Inheritance Mapping
- Entity Inheritance With Hibernate
- Table-Per-Class Mapping
- Table Per Subclass Mapping
- Table Per Concrete Class Mapping
Additional Querying Capabilities
- Projection Queries, Aggregate Queries
- Bulk Updates And Deletes
- Native SQL Queries
- Query Filters
The Criteria API
- Overview Of The Criteria API
- Working Querying With The Criteria API
- Query By Example
Hibernate And Java Persistence / EJB 3
- Overview Of Java Persistence / EJB 3
- Relationship Between Java Persistence And Hibernate
- Overview Of Annotations
- Mapping Entities With Hibernate Annotations
- The EntityManager, Persistence Context And Persistence Unit
- Working With Transactions – EntityTransaction, Managed, And Unmanaged Environments
- Inserts And Updates
- JPQL – Java Persistence Query Language
- Versioning
- Relationships
Advanced Topics
- Components And Multi-Table Mapping
- Equals() And HashCode()
- Caching And Efficiency
- Design Considerations
Learn how to map Java objects to relational tables, execute complex queries with ease, and leverage Hibernate’s advanced features to optimize your applications with our Hibernate course. Get your free Hibernate course syllabus PDF now.
