chapter seven
This chapter covers
- Learning how to connect Quarkus application to the database
- Introducing Hibernate ORM with Panache
- Explaining Quarkus approaches to the database access
- Integrating reactive database access to Quarkus applications
Databases. I believe all of us can agree that we must do something with the database at least a few times in our careers. From simple column adjustments to sophisticated migrations, these might become challenging problems to solve. This is why there are a lot of libraries helping us with database access, object-relational mapping (ORM), and migrations every time we need them.
In the previous chapter, we delegated the user management and credentials storing to the Keycloak server that manages its own persistent store. While this is suitable for user handling, it surely isn’t ideal for our custom business data that the Car rental system manages. In this chapter, we concentrate on learning how Quarkus manages databases from your applications.