~/talk

Cause of Death: Hibernate.

Talkat Devoxx Ukraine 2020 · 2020-11-05..11-07· [databases, java]
links:none on file
slides:none on file

Shows concrete Hibernate pitfalls with code and numbers: eager fetch turns one query into N+1 (6 authors → 7 JDBC statements), list vs set causes wholesale delete+inserts on many-to-many, JPQL bulk updates require flush+clear or first-level cache hides changes, missing association cache forces 24–36 extra statements until entity+collection caches are enabled, and bi‑directional cascade remove can delete most of your data with just one annotation. Covers open session in view anti-pattern and a new library to bring the database to its knees with thousands of queries and how to fix each.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 3:22Hibernate performance pitfalls
  3. 10:54Many-to-many mapping issues
  4. 18:59Hibernate caching explained
  5. 27:06Query cache best practices
  6. 31:22Inconsistent results with Hibernate
  7. 36:22JPQL update statements risks
  8. 39:13Bidirectional associations handling
  9. 41:44Open session in view anti-pattern
  10. 49:31Batch processing and entity clearing
  11. 50:58Cascading remove dangers
  12. 53:44Q&A and closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.