Hibernate is an Object / Relational Mapping (ORM) framework that maps your Java classes to database tables and Java variables to database fields.
- Setting up Hibernate in Eclipse
Setting Hibernate in your Eclipse IDE
- Hibernate SQL Dialects
List of all SQL Dialect for different database vendors.
- Hibernate <generator> element
List of Built-in Generators in Hibernate
Hibernate Association (XML Mapping)
- Hibernate One To One Mapping (XML Mapping)
Hibernate one to one example with hbm mapping file.
- Hibernate One To Many Mapping (XML Mapping)
Hibernate one to many example with hbm mapping file.
- Hibernate Many To Many Mapping (XML Mapping)
Hibernate many to many example with hbm mapping file.
- Hibernate Component Mapping (XML Mapping)
Hibernate component mapping example with hbm mapping file.
- Hibernate Self Join One to Many Mapping (XML Mapping)
Hibernate self join one to many example with hbm mapping file.
- Hibernate Self Join Many to Many Mapping (XML Mapping)
Hibernate self join many to many example with hbm mapping file.
Hibernate Association (Annotation)
- Hibernate One To One Mapping (Annotation)
Hibernate one to one example with annotation.
- Hibernate One To Many Mapping (Annotation)
Hibernate one to many example with annotation.
- Hibernate Many To Many Mapping (Annotation)
Hibernate many to many example with annotation.
- Hibernate Component Mapping (Annotation)
Hibernate component mapping example with annotation.
- Hibernate Self Join One to Many Mapping (Annotation)
Hibernate self join one to many example with annotation.
- Hibernate Self Join Many to Many Mapping (Annotation)
Hibernate self join one to many to many example with annotation.
- Hibernate Self Join Many to Many Mapping with Extra Column (Annotation)
Hibernate self join many to many example (having extra column) with annotation.
- Foreign key constraint to a composite primary key
Composite key with a foreign key constraint example with annotation.
Blob Data Type Mapping in Hibernate
- Hibernate Blob Data Type (XML Mapping)
Hibernate blob data type example with hbm mapping file
- Hibernate Blob Data Type (Annotation)
Hibernate blob data type example with annotation.
Composite Key Mapping in Hibernate
- Hibernate Composite Key (XML Mapping)
Hibernate composite key example with hbm mapping file.
- Hibernate Composite Key (Annotation)
Hibernate composite key example with annotation.
Hibernate Connection Pooling
- Configuring C3p0 Connection Pooling with Hibernate
Learn how to integrate C3p0 with Hibernate
Hibernate Logging and Statistics
- Hibernate Logging and Statistics
Learn how to integrate Log4j with Hibernate
Hibernate Dynamic SQL Generation
- Hibernate Dynamic SQL Generation
Dynamic Sql generation to improve performance.
Hibernate Immutable
- Hibernate Immutable Tutorial
Mutable is used to cache the values and avoid hitting database.
Hibernate Criteria
- Hibernate Criteria Tutorial
It is an alternative to HQL and can be used in search criteria.
- Hibernate Criteria on Multiple Tables
Learn how to use criteria on multiple tables.
Hibernate Query Language (HQL)
- Hibernate Query Language Tutorial
Basic Crud operation using Hibernate Query Language.
Hibernate Caching
- Hibernate Caching
Hibernate caching to improve performance.
- Hibernate – Difference between session’s get() and load()
Difference between get and load in Hibernate session.
Hibernate Named Query
- Hibernate Named Query (XML Mapping)
Hibernate named query example with hbm mapping file.
- Hibernate Named Query (Annotation)
Hibernate named query example with annotation.
Hibernate Native Sql
- Hibernate Native Sql Tutorial
Learn how to use native SQL in Hibernate.
Hibernate Interceptor
- Hibernate Interceptor
Intercept Hibernate CRUD operations with Hibernate Interceptor.
Common Exception with Hibernate
- org.hibernate.PropertyAccessException: Null value was assigned to a property of primitive type setter of
- org.hibernate.AnnotationException: Collection has neither generic type or OneToMany.targetEntity() defined
Integration with other Frameworks
- Spring and Hibernate Example
Example to integrate Hibernate into the Spring MVC application.
