~/talk

JOOQ, Joy of SQL

TalkinFrenchat Devoxx France 2022 · 2022-04-20..04-22· [databases, java]
slides:none on file

jOOQ is presented as a lightweight Java DSL that keeps real SQL at the center by generating Java types from the database schema and providing compile-time safety instead of ORM magic. It integrates with JDBC or R2DBC via a code generator that connects to the database, supports Java records and Optionals, emulates dialect features (e.g. LIMIT emulation), adds JSONB operators, multiset mapping (since 3.15) and window functions. A concrete example shows a podcast search engine using a two-step query (fetch 12 ids, then join details) to improve performance and reliability in production.

AI-written summary · about

  1. 0:00JOOQ and SQL intro
  2. 1:44SQL discovery importance
  3. 3:05SQL declarative paradigms
  4. 5:11JDBC/JPA limits
  5. 7:37ORM alternatives history
  6. 10:46Annotations side effects
  7. 14:17Back to raw SQL
  8. 15:01JOOQ as SQL DSL
  9. 16:26JOOQ code generation
  10. 18:55Strong typing with JOOQ
  11. 21:04Simple query joins
  12. 22:28N:M relations in JOOQ
  13. 23:33Advanced JOOQ features
  14. 26:44JOOQ robust solution
  15. 28:49JOOQ JPA Records
  16. 30:13Case study search engine
  17. 34:46Modern SQL evolutions
  18. 35:51SQL stats aggregations
  19. 37:55Window functions power
  20. 39:18JOOQ PostgreSQL extensions
  21. 41:44PostgreSQL versatile DB
  22. 42:49Why learn SQL
  23. 44:34Conclusion demo
~/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.