Data Access & ORM Integration
Spring's data-access abstractions, the JPA persistence context, N+1 hunting, OSIV and locking strategies.
- 1✓
What do Spring's data-access abstractions (JdbcTemplate, DataAccessException) actually buy you?
senior - 2✓
Explain the JPA persistence context. What do dirty checking, flush and the first-level cache mean in a Spring transaction?
staff - 3✓
The N+1 query problem: how do you detect it, and what's your toolbox for fixing it?
senior - 4✓
What is Open Session in View? Why does Spring Boot enable it by default, and why do experienced teams turn it off?
staff - 5✓
Optimistic vs pessimistic locking with JPA — how does @Version work, and how do you choose?
staff