Loading…
32+ curated questions with the same answer shape every time: quick recap, deep dive, pitfalls, and follow-ups. Coverage includes jpa fundamentals, hibernate internals, entity relationships, spring data jpa, and more.
Suggested path
Topics follow a teaching order. Each answer ends with a clear Next question control so you can move forward without hunting the list.
Spring Data JPA interviews test whether you understand the ORM, not just the repository interface. This module is an elevation arc: it opens with JPA fundamentals (the EntityManager, persistence context, entity states), then Hibernate internals (the session, dirty checking, cascades). Entity relationships and the Spring Data repository layer follow, then transactions (the most-asked topic — propagation, isolation). The problem tier — N+1, query optimization, caching, batch processing — is where senior interviewers land. Migrations and multi-tenancy close the advanced tier, then comparisons and scenario-based questions.
Full catalog
Topics are ordered for learning. Within each topic, rows are numbered 1–32 globally so you always know where you are. Collapse topics if you want a lighter view — use Expand all when you need the full list again.
Numbers 1–32 follow the order we recommend — click any row to open the full answer, or use the sticky Next link at the bottom of each page to go Q1 → Q32.
Interviewers rarely ask Spring Data, JPA & Hibernate in isolation. These are the modules that most often come up in the same loop.