In this section, we will learn how to use the persistence layer in the service layer to store data and retrieve data from a database. We will go through the following steps:
Log the database connection URL.
Add new APIs.
Use the persistence layer.
Declare a Java bean mapper.
Update the service tests.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.