I have a properties file with data to connect with database. Also, I have a hibernate config file. I would like to config the hibernate file with properties from properties file. How could I read the properties and insert them into XML file? I can read the properties via System.getProperty(name).
Thanks!
May this should be a good start: