~/talk

Do You Really Need Hibernate?

Talkat JavaOne 2026 · 2026-03-17..03-19· [java, databases]
slides:none on file

Argues that full JPA/Hibernate is unnecessary for data‑heavy CRUD apps and demonstrates replacing it with jOOQ plus Java Records, testcontainers and Flyway. Shows generating metadata from a real DB, handling an ERP with ~2,000 tables and ~5,000 procedures that produced 11,000 generated classes, and writing one SQL using multiset/JSON to return a five‑level ranking tree. Covers upserts, returning autogenerated columns, batching, debug logging of prepared+inlined SQL, performance tradeoffs and how jOOQ can be combined with JPA when needed.

AI-written summary · about

  1. 0:00Introduction
  2. 1:29Introducing Juke
  3. 3:58Entity state vs data set
  4. 5:25Why no JPA/Hibernate
  5. 6:27SQL vs ORM scalability
  6. 8:13Juke origins and licensing
  7. 9:58Nested data necessity
  8. 12:46Generating Juke code
  9. 15:42Juke plugin config
  10. 17:07Metadata classes and active record
  11. 21:23Testing Juke with Spring Boot
  12. 22:48Inserting and updating records
  13. 25:15Projections and joins in Juke
  14. 27:22Type-safe projections with DTOs
  15. 28:51Deleting records and returning fields
  16. 30:35Loading nested data
  17. 34:31Spring projections and N+1
  18. 36:01Ranking lists with nested queries
  19. 40:23Demo and generated SQL
  20. 44:23Juke vs JPA/Hibernate
  21. 45:45Q&A
~/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.