1. Hibernate Basics and Configuration
These tutorials cover the fundamental concepts of Hibernate and how to configure it for different use cases.
- Hibernate Framework Overview - Architecture and Basics
- Simple Hibernate Example Tutorial
- Hibernate XML Configuration Example
- Hibernate Java Configuration Example
- Hibernate Configurations Quick References [Snippets]
- JPA with Hibernate Bootstrapping Example
2. Database Integration
These tutorials focus on integrating Hibernate with various databases.
- Hibernate MySQL Database Tutorial
- Hibernate PostgreSQL Database Tutorial
- Hibernate Oracle Database Tutorial
- Hibernate MS SQL Server Database Tutorial
- Hibernate MariaDB Database Tutorial
- Hibernate H2 Database Example Tutorial
- Hibernate HSQLDB In-Memory Database Example Tutorial
3. Transactions and Session Management
These tutorials cover how to manage transactions and sessions in Hibernate.
- Hibernate Transaction Commit Example
- Hibernate Transaction Rollback Example
- Hibernate Session beginTransaction Example
- Hibernate Transaction Management Tutorial
- Hibernate Session.evict() Method Example
- Hibernate Session.clear() Method Example
4. Data Operations (CRUD)
These tutorials demonstrate how to perform CRUD operations using Hibernate.
- Hibernate - Save an Entity Example
- Hibernate - Persist an Entity Example
- Hibernate - saveOrUpdate() Method Example
- Hibernate - get(), load(), and byId() Method Examples
- Hibernate - merge() Example
- Hibernate - Delete or Remove an Entity Example
- Hibernate - load() Method Example
- Hibernate Create, Read, Update and Delete (CRUD) Operations Example
- JSP Servlet Hibernate CRUD Example
- Hibernate One-to-Many CRUD Example
- Hibernate One-to-One CRUD Example
- Spring Boot REST API One-to-Many CRUD Operations Example
- Spring Boot and Hibernate One-to-One CRUD REST API Tutorial
- Spring Boot and Hibernate Many-to-Many CRUD REST API Tutorial
5. Advanced Concepts
These tutorials cover advanced Hibernate concepts and best practices.
- Hibernate Pagination Example
- Hibernate Caching Example
- Hibernate Validator Tutorial
- Hibernate Batch Processing Tutorial
- Hibernate Interceptors Example Tutorial
- Hibernate Component Mapping Example Tutorial
- Hibernate Automatic Table Creation
- Hibernate Logging with Log4j2 Using Properties File
- Hibernate @CreationTimestamp and @UpdateTimestamp Tutorial
- How to Generate UUIDs as Primary Keys with Hibernate
- Define Unique Key in JPA/Hibernate Entity
- Generate UUID as Primary Keys in Spring Boot
- Generate String UUID Primary Keys in Spring Boot
- JUnit Test Cases for Hibernate DAO
- Hibernate Enum Type Mapping Example
- Hibernate First Level Cache with Example
- Hibernate Java 8 LocalDate, LocalDateTime, and Duration Example
- Guide to Hibernate Schema Generation
- Guide to Hibernate Native SQL Queries
- Hibernate - Using Stored Procedures for Querying
- Hibernate c3p0 Connection Pool Example
- All Hibernate Annotations: Mapping Annotations
- All JPA Annotations: Mapping Annotations
6. Mapping and Relationships
These tutorials explain how to map entities and handle relationships in Hibernate.
- Hibernate - One-to-One Mapping Annotation Example
- Hibernate - One-to-Many Mapping Annotation Example
- Hibernate - Many-to-Many Annotation Mapping Example
- Hibernate @PrimaryKeyJoinColumn Annotation | One-to-One Mapping Example
- Hibernate - Inheritance Mapping
- Hibernate/JPA MappedSuperclass Inheritance Example
- Hibernate/JPA Single Table Inheritance Example
- Hibernate JPA Joined Table Inheritance Example
- Hibernate/JPA Table Per Class Inheritance Example
- JPA/Hibernate One to One Mapping Annotation Example
- JPA/Hibernate One to One Bidirectional Mapping Annotation Example
- JPA Hibernate One to Many Unidirectional Mapping Example
- JPA/Hibernate One to Many Bidirectional Mapping Example
- JPA/Hibernate Many to Many Annotation Mapping Example
- Hibernate Component Mapping Using @Embeddable and @Embedded Annotation
7. HQL and Native SQL
These tutorials cover Hibernate Query Language (HQL) and using native SQL queries with Hibernate.
- Hibernate Query Language Basics
- Hibernate Query Language INSERT, UPDATE, SELECT, and DELETE Example
- Hibernate - HQL CRUD Example [Snippets]
- Hibernate Named Query Tutorial with Examples
- Guide to Hibernate Native SQL Queries
- Hibernate Native Query Pagination using MySQL Database
- Hibernate HQL Join Example with MySQL Database
- Hibernate HQL IN Clause Example
- Hibernate HQL Limit Example Tutorial
- Hibernate HQL Delete Example Tutorial
- Hibernate HQL Subquery Tutorial
- Hibernate HQL Group By Tutorial
- Hibernate HQL Distinct Tutorial
8. Spring Boot Integration
These tutorials show how to integrate Hibernate with Spring Boot.
- Spring Boot REST API One-to-Many CRUD Operations Example
- Spring Boot and Hibernate One-to-One CRUD REST API Tutorial
- Spring Boot and Hibernate Many-to-Many CRUD REST API Tutorial
- Generate UUID as Primary Keys in Spring Boot
- Generate String UUID Primary Keys in Spring Boot
- Hibernate SessionFactory Spring Boot CRUD Example
9. Testing
These tutorials focus on testing Hibernate applications.
10. Additional Topics
These tutorials cover various additional topics related to Hibernate.
- Difference Between save and persist Method with an Example
- Difference Between save and saveOrUpdate Method with an Example
- Difference Between get and load Method with an Example
- JSP Servlet Hibernate Web Application
- Hibernate Registration Form Example with JSP, Servlet, MySQL
- Login Form using JSP + Servlet + Hibernate + MySQL Example
- Hibernate Session Interface Methods with Examples
- Hibernate Example with MySQL Database
GitHub Repository
For more Hibernate tutorials and examples, you can visit the GitHub repository:
This categorized list provides a comprehensive guide to various Hibernate topics, helping you find specific tutorials based on your needs.
Very wonderful blog. Thank you Ramesh.
ReplyDelete