~/talk

Do you really need Hibernate?

Talkat J-Fall 2023 · on Thursday, 2023-11-09· [databases, java]
slides:none on file

Demo builds a kids competition app and shows concrete replacements for Hibernate: it uses jOOQ + Java Records to generate a type-safe meta model from Flyway migrations, runs in testcontainers, and executes a single query that returns nested DTOs via multiset to return nested JSON. The project scales to large schemas — an example with ~2,000 tables generates ~10,000 classes and compiles — and the approach avoids N+1 selects and works alongside JPA when needed.

AI-written summary · about

  1. 0:00Introduction and background
  2. 3:36Business applications and database centricity
  3. 5:04JPA vs SQL: Entity state vs data set transformation
  4. 10:06Introduction to JOOQ and its approach
  5. 14:17JOOQ in action: Code generation and usage
  6. 22:03Reading and updating data with JOOQ records
  7. 26:44Type safety and database agnosticism with JOOQ
  8. 30:24Reading nested structures with JOOQ
  9. 36:04Generating database model with JOOQ
  10. 42:06Do you really need Hibernate?
  11. 45:37Q&A session part 1
  12. 47:59Q&A session part 2
  13. 50:28Q&A session part 3
  14. 51:17Query details for nested structures
  15. 52:24Non-relational databases and JOOQ
  16. 53:52Final Q&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.