~/talk

The Persistence Heavyweight Championship: JPA vs. jOOQ

Talkat Spring I/O 2026 · 2026-04-13..04-15· [databases]
slides:none on file

Head-to-head comparison of JPA/Hibernate and jOOQ with concrete tradeoffs: jOOQ code generation with Testcontainers yields compile-time DB-model checks and type-safe DSL; jOOQ supports active-records and can emit a single huge UPDATE with CASE to batch updates. Hibernate offers first-/second-level caches, stateless sessions, and a Hibernate processor for metamodel and JPQL validation, plus enterprise backing (≈400,000 repos, ~600 contributors) while jOOQ is mainly maintained by one person (Lukas Eder). Results end in a draw.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 2:17Speed and ease of development
  3. 10:58Type-safety comparison
  4. 24:05N+1 query management
  5. 29:32Write-side query complexity
  6. 39:07Runtime performance
  7. 44:38Schema evolution and refactoring
  8. 47:48Pricing and project maintenance
~/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.