spring – SpringBoot Integration with Mysql using Hibernate

spring – SpringBoot Integration with Mysql using Hibernate

I prefer to use application.properties in order to configure my Spring Boot Application, as a more efficient way to maintain it and even to define more than a profile.

Your sample DatabaseConfiguration.java file is a way to force your application to read the properties programatically, and also adds some of your logic if needed.

spring – SpringBoot Integration with Mysql using Hibernate

Leave a Reply

Your email address will not be published. Required fields are marked *