I have this hibernate.cfg.xml file that I use to configure hibernate in sturtup.
<property name="hibernate.connection.username">dbUser</property>
<property name="hibernate.connection.password">1234</property>
I have a properties file, which he called config.properties , which contains all the other configurations used in the application.
How to set the "hibernate.connection.username" parameter from the properties file (config.properties), so that I only have one file to edit?
source
share