Create Your Perfect Persistence Stack
summary
Shows a concrete stack: Hibernate for managed CRUD and lifecycle (avoid saveAndFlush, use @Generated for DB-generated columns), jOOQ for complex SQL via DSL and generated meta models, and Flyway for versioned migrations. Demo runs Flyway against an H2 DB (4 migration scripts), jOOQ codegen from that schema, then executes jOOQ SQL inside Hibernate as a native query with adjusted bind-index mapping (0‑based → 1‑based) and constructor/result mappings — end‑to‑end integration works.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 1:36Who am I
- 2:57Todays topic
- 4:23Entity Lifecycle Model
- 7:35JPQL
- 8:44Code Samples
- 11:03Automatic Mapping
- 13:27Refetching
- 18:46Native SQ
- 27:37Demo
- 35:35Why add Juke
- 36:11Integration with Flyway
- 40:45Integration with Hibernate
- 44:20Summary
related talks
54mDo you really need Hibernate?
49mDo You Really Need Hibernate?
54mDo you really need Hibernate
43mDo You Really Need Hibernate?
46mThe State of Java Relational Persistence
51mThe Persistence Heavyweight Championship: JPA vs. jOOQ
34mSimplifying Polyglot Persistence Integration with...
47mThere is always a choice. Spring Data JDBC vs. Hibernate. Taras Boychuk. Java Fest 2020 Online
