@Transactional Deep Dive: Proxy, ThreadLocal & Production Traps
A senior-level breakdown of how @Transactional really works: AOP proxy mechanics, CGLIB vs JDK proxy, ThreadLocal transaction binding, flush/commit timing, propagation internals, isolation levels, and the production traps that cause silent data corruption, connection pool exhaustion, and 2 AM alerts.
Best Practices for Many-To-One and One-To-Many Association Mappings
Detailed guide and senior deep dive into JPA/Hibernate best practices for @ManyToOne and @OneToMany mappings based on Thorben Janssen's tutorial.
Chapters 30–32: The Database, Web & Frameworks Are Details
Databases, web frameworks, and all third-party frameworks are details — implementation choices that should be deferred and hidden behind boundaries. Learn why treating them as the center of your architecture leads to rigidity and how to protect your business rules from them.
JPA & Hibernate: Entity Lifecycle, State Transitions, and Persistence Methods
A comprehensive guide to JPA and Hibernate persistence methods — entity lifecycle states, persist vs save vs merge vs update, primary key strategies, performance implications, and production deep dives for senior engineers.
Spring & Spring Data JPA: Managing Transactions
A deep dive into @Transactional — how AOP proxy, ThreadLocal connection binding, propagation traps, async pitfalls, and rollback rules work under the hood in Spring Boot.
Spring Data JPA: Custom Queries with @Query
A complete guide to custom JPQL, Native SQL, SpEL, projections, and senior-level internals — persistence context mechanics, N+1 prevention, memory optimization, and connection pool management.