• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to access db.properties file properties in hibernate.cfg.xml file

 
Nicky narayan
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have adb.properties fle with connection properties of Database.
Want to access those properties in the hibernate.cgf.xml file.
Help me with code example.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!