Do You Really Need Hibernate
summary
Compares JPA/Hibernate’s entity state transition (load objects, mutate, let ORM emit SQL) with a data set transformation approach using juk, a database‑first API that generates a type‑safe meta model, integrates with Spring Boot/Flyway/Testcontainers, and handles functions/stored procedures. Demonstrates a production case with ~2,000 tables and ~5,000 procedures, shows nested results via multiset/JSONB to build a competition ranking PDF, and reports that juk works for heavy DB logic while performance “depends” on DB features and query shape.
AI-written summary · about
chapters (21)
- 0:00Introduction and speaker background
- 1:25Track and field project background
- 4:20Data-centric business applications
- 6:06Entity state vs data set transformation
- 8:12Introduction to JOOQ (JQ)
- 10:40JOOQ features and benefits
- 14:10JOOQ generator configuration
- 17:47Generated code and records
- 21:19Testing with JOOQ and Spring Boot
- 22:47Basic JOOQ queries and DSL
- 24:15Inserting and updating data
- 26:49Working with DTOs and projections
- 28:57Joins and type-safe queries
- 31:08Sub-selects and nested results
- 36:12One-to-many relationships and multiset
- 39:51Declarative SQL with JOOQ
- 41:33Performance comparison with Hibernate
- 42:39Additional JOOQ capabilities
- 45:10Mixing JPA and JOOQ
- 46:58When to use JOOQ vs JPA
- 50:29Q&A session
