~/talk

Easier Microservice Persistence With Micronaut Data

Talkat Developer Summit 2020 · 2020-11-21..11-22· [java, databases]
links:none on file
slides:none on file

Micronaut Data claims to precompute SQL at compile time using AoT query compilation so repository interfaces become concrete implementations with no reflection or runtime proxies. Demo shows a small Book app using the JDBC flavor with H2 for local testing then swapped to an Oracle Autonomous DB, implements CRUD, dynamic finder methods, pageable results and DTO projections compiled at build time. Also shows native-image builds that cut runtime memory and startup compared with a JVM JIT run.

AI-written summary · about

  1. 0:00Introduction and agenda
  2. 2:19What is Micronaut Data
  3. 4:45How Micronaut Data works
  4. 8:18Creating a domain model
  5. 14:07Creating a repository
  6. 16:37Building a controller
  7. 25:03Custom queries with dynamic finders
  8. 37:33Using DTOs for projections
  9. 40:48Explicit SQL queries
  10. 43:43Pagination with Pageable
  11. 46:20Native image benefits
  12. 48:52Connecting to a real database
  13. 51:30Conclusion and resources
~/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.