When it comes to object-relational mapping (ORM), this Spring 5 framework supports Hibernate 5 with easy configuration through the context of Spring Boot 2.0 methodologies. This first recipe will be about applying Hibernate object-relational mapping to a MySQL data source using the HikariCP data pooling mechanism.
Using Hibernate 5 object-relational mapping
Getting ready
Create a new Maven project, ch12-hiber, and integrate the Hibernate 5 ORM framework.
How to do it...
Let us integrate Hibernate 5 to the Spring 5 application using the following steps:
- Convert the Maven...