Easier Microservice Persistence with Micronaut Data
summary
Micronaut Data claims AoT compilation that precomputes SQL at build time and avoids reflection, demonstrated by building a Book entity, a CrudRepository (JDBC flavor) and a controller backed by an H2 in‑memory DB with four bootstrap records; CRUD and custom queries by method name work without handwritten SQL, DTO projections and @Query native SQL (LIMIT 2) also work, pagination is built in, and a native image shows much faster startup and lower memory (Micronaut Data, H2 in-memory DB, native image startup 79ms).
AI-written summary · about
chapters (10)
- 0:00Introduction to Micronaut Data
- 2:13Core concepts and benefits
- 4:48Building the domain model
- 9:24Working with repositories
- 13:56Implementing the controller
- 19:01Crafting custom queries
- 26:43Advanced data retrieval
- 31:58Implementing pagination
- 34:50GraalVM native images
- 38:40Database configuration and Q&A
related talks
53mEasier Microservice Persistence With Micronaut Data
51mEasier Microservice Persistence With Micronaut Data
16mAhead of Time Data Access with Micronaut
02h 54mMicronaut Deep Dive
58mGood to Great: from Spring Boot to Micronaut
52mSkyrocketing Development Of Your Microservices With Micronaut
47mIntroduction to Micronaut Lightweight Microservices with Ahead of Time Compilation
48mMicronaut Deep Dive
