Hibernate ORM is the standard way to map database structures into Java objects. The main downside of using an ORM tool is that even a simple database structure requires lots of boilerplate code (such as getter and setters methods). Also, you have to include basic query methods in your repository classes, which makes the work quite repetitive. In this section, we will learn how to use Hibernate Panache to simplify and accelerate the development of our applications.
To get started with Hibernate ORM with Panache, let's check the second example for this chapter, which is located in the Chapter05/hibernate-panache folder in this book's GitHub repository. We recommend importing the project into your IDE before you move on.
If you take a look at the project's configuration, you will see that we have included quarkus-hibernate...