I've this file hibernate.cfg.xml that I use to configure hibernate at sturtup.
<property name="hibernate.connection.username">dbUser</property>
<property name="hibernate.connection.password">1234</property>
I've a properties file that it's called config.properties that hold all other configurations used into the application.
How can I set "hibernate.connection.username" parameter from the properties file (config.properties) so I have only one file to edit?