Introducing Hibernate Reactive – The first reactive ORM framework
summary
Hibernate Reactive claims to be the first reactive ORM API for Java and it uses Vert.x reactive Postgres client to drive nonblocking SQL while reusing familiar Hibernate mappings and cascades. Session methods return CompletionStage / Mutiny types so code composes with thenCompose/flatMap, join only for demos, and proxies via getReference avoid extra selects. Lazy collections require explicit lazy fetching (no automatic lazy init), and Quarkus ships built‑in integration while Spring Data lacks first‑class support.
AI-written summary · about
chapters (22)
- 0:00Introduction
- 3:23Hibernate past and present
- 10:49Reactive programming basics
- 11:58Hibernate Reactive overview
- 13:03Live coding setup
- 15:38Project dependencies
- 16:42Creating entities
- 18:27Session factory setup
- 20:11Database schema creation
- 20:32Basic CRUD operations
- 22:25Reactive session handling
- 23:36Fetching and printing data
- 24:18Dirty checking and updates
- 25:22Relationships and cascading
- 27:57Adding related entities
- 29:41Lazy loading challenges
- 33:00Explicit lazy loading
- 35:54CompletionStage vs Mutiny
- 39:04Quarkus integration demo
- 41:12Reactive REST API example
- 42:15Quarkus advantages
- 49:29Summary and future outlook








