Back to Backend Engineer
💾
Phase 4
Persistence & Data Access
JPA, transactions, fetch strategies, and query patterns for backend persistence layers.
1
Spring Data JPA: Entities, Relationships, and Repositories
A staff-engineer guide to entity mapping, relationship modeling, and repository design with Spring Data JPA and Hibernate.
backend-engineerjpahibernate
2
Lazy Loading, Eager Loading, and the N+1 Query Problem
How Hibernate fetch strategies work, why N+1 query bugs happen in production, and the concrete fixes: JOIN FETCH, entity graphs, and batch fetching.
backend-engineerlazyeager
3
Transactions and Concurrency in Spring
A production guide to @Transactional, propagation and isolation levels, and optimistic vs pessimistic locking for data consistency.
backend-engineertransactionspropagation
4
Pagination and Specifications in Spring Data JPA
Pageable, Page vs Slice, keyset pagination at scale, and building dynamic queries with JPA Specifications and the Criteria API.
backend-engineerpaginationspecifications