© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
T. R. SharpIntroducing Micronauthttps://doi.org/10.1007/978-1-4842-8290-8_6

6. Adding a Persistence Tier to the Microservice

Todd Raymond Sharp1  
(1)
Blairsville, GA, USA
 

The logical path to take from here would be to add some database interactivity to our microservice application since that is certainly something that you’d need to do in any real-world project. We’ll focus on adding a very simple persistence tier to the application that will store and retrieve user data to and from Oracle DB. Locally, we’ll test against an instance of Oracle XE running in a Docker container, and we’ll use Liquibase to handle our schema creation and migrations. This will make ...

Get Introducing Micronaut: Build, Test, and Deploy Java Microservices on Oracle Cloud now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.