Hibernate properties in the Spring application.properties


I am trying to use Spring Boot to manage the transaction in my JEE web with JPA etc.
However, I studied a few tutorials and found that some people are making the application.properties like this :slight_smile:
#Hibernate Configuration

whereas other people are using it without the spring and just put jdbc.driverClassName = …

I’d like to know which is the one that I should use…best something not very complicated and will not cost me alot of money should I be able to really complete the project for hosting…not sure if I will even get to that part…


They probably do that only for the tutorials you found.

In reality, you either use a Java EE application server like Wildfly or JBoss or you use Spring.

If you are using Spring, you just have to supply the database connection properties.