~/talk

Do You Really Need Hibernate?

Talkat JCON Europe 2023 · on Wednesday, 2023-06-21· at 11:00· Cinema 7, Im Mediapark 1, 50670 Köln, Germany· [databases, java]
slides:none on file

Asks whether full Hibernate-style ORM is necessary and demonstrates a concrete alternative using jOOQ with Java Records, DSL-generated classes and updatable records to issue type-safe SQL, perform inserts/updates, and avoid n+1 selects. Shows handling a legacy ERP with 2000 tables and 4,000 stored procedures, generating code from the DB (Flyway + Testcontainers) and producing nested multi-set queries that return JSON/XML so a single SQL call maps to a tree-shaped result; outlines how to mix jOOQ queries with JPA when needed.

AI-written summary · about

  1. 0:00Introduction and background
  2. 10:41What is jOOQ and why
  3. 20:26Generating classes from database
  4. 29:23Lazy loading issues with Hibernate
  5. 35:46Building nested ranking lists
  6. 40:47When to use jOOQ or JPA
  7. 42:36Q&A and closing
~/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.