So far, we have developed some basic applications using in-memory structures that can be accessed through REST channels. But this is just the beginning. In real-world examples, you don't just rely on in-memory data; instead, you persist your data structure either on a relational database or somewhere else, such as in NoSQL storage. Therefore, in this chapter, we will leverage the essential skills we need in order to build applications in Quarkus that persist data into a relational database. We will also learn how to use an Object Relational Mapping (ORM) tool such as Hibernate ORM to map a database as storage and how to simplify its usage with the Hibernate ORM with Panache extension.
In this chapter, we will cover the following topics:
- Adding an ORM layer to the customer service
- Configuring and running an application to reach an RDBMS...