8" :class="scrolled && 'is-scrolled'">
NOA
Labs
Tutorials
Courses
Skill Forge
Explore
Labs
Hands-on live sessions
Mentors
Meet the senior engineers
Projects
Real portfolio-ready builds
Talent Directory
Public student profiles
Mock Interview
Practice with real feedback
ATS Resume Checker
Free instant resume scoring
Search docs
Ctrl K
Login
Join Free
Artificial Intelligence
LangChain
LLMs
Machine Learning
Prompt Engineering
RAG (Retrieval-Augmented Generation)
AJAX
GraphQL
Apache Kafka
Microservices
Node.js
RabbitMQ
REST API
WebSockets
Algorithms
Data Structures
Angular
Bootstrap
CSS
HTML
jQuery
Next.js
Nuxt.js
React
Svelte
Tailwind CSS
Vue.js
ASP.NET Core
Django
.NET
Entity Framework Core
FastAPI
Flask
Gin
gRPC
Hibernate
Laravel
NestJS
Spring
Spring Boot
Spring Cloud
Spring Data JPA
Spring MVC
Spring Security
AWS
Azure
CI/CD
Docker
Git
Kubernetes
Linux
Nginx
Terraform
C
C++
C#
Dart
Go
Java
JavaScript
Kotlin
PHP
Python
Ruby
Rust
Swift
TypeScript
Database Design
MongoDB
MySQL
Oracle Database
PostgreSQL
Redis
SQL
System Design
↑↓ navigate
↵ open
esc close
Tutorials
/
Hibernate
Hibernate menu
Hibernate Tutorial
The Java ORM — entities, mappings, the session, and lazy vs eager loading.
Start the Hibernate tutorial →
What you'll learn
1. Hibernate Introduction
What Hibernate is, the object-relational impedance mismatch it solves, and a minimal entity and save example.
2. Entity Mapping & Annotations
@Entity, @Id, @GeneratedValue, @Column, @Table, and mapping relationships between entities.
3. Sessions & Caching
The Session/EntityManager, first-level vs second-level cache, and the transient/persistent/detached entity lifecycle.
4. HQL & the Criteria API
HQL query examples, the type-safe Criteria API, and when to reach for native SQL instead.
5. Performance Tuning & the N+1 Problem
The N+1 problem shown concretely, and fixing it with JOIN FETCH, @EntityGraph, and batch fetching.
6. Second-Level Cache In Depth
Configuring a second-level cache provider, cache regions and concurrency strategies, and when caching helps vs hurts.
7. Hibernate Interview Questions
Commonly asked Hibernate interview questions with clear, practical answers.