Skip to content
All topics

Spring & Hibernate

The IoC container and bean lifecycle, proxies and AOP, @Transactional, the JPA persistence context, and the database isolation anomalies underneath it all.

The parts of the Spring / Hibernate stack that interviews probe once “I’ve used Spring Boot” is on the table: what the container actually does with your classes, why most of Spring’s “magic” is a proxy, what @Transactional really controls, when Hibernate actually sends SQL, and the isolation-level anomalies (dirty reads, dirty writes, lost updates…) that decide whether two concurrent requests corrupt each other’s data.