Cause of Death: Hibernate
summary
Shows concrete bugs and fixes: using fetch type eager causes an N+1 of one query per author, while one left join fetch eliminates it; modeling many-to-many with List triggers full-delete-and-reinsert, switching to Set issues a single delete; bidirectional links require updating both sides or deletes never run; enabling cascade remove on many-to-many deletes related books and authors across the graph; includes a small perf tester tool that collects runtime JDBC stats to find these problems during tests.
AI-written summary · about
chapters (3)
related talks
58mCause of Death: Hibernate.
52mCause of Death: Spring Data JPA
45mLazy Versus Eager Loading Strategies for JPA 2.1
44mORM Insights - How not to hurt yourself?
42mJPA - Beyond copy-paste
52mHibernate performance tuning
49mPerformance oriented Spring Data JPA & Hibernate
47mWhen ORM Becomes OMG: Performance Pitfalls in JPA and Friends
