aspose file tools*
The moose likes Object Relational Mapping and the fly likes Can i mix hibernate configuration data in properties and hibernate.cfg.xml files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Can i mix hibernate configuration data in properties and hibernate.cfg.xml files" Watch "Can i mix hibernate configuration data in properties and hibernate.cfg.xml files" New topic
Author

Can i mix hibernate configuration data in properties and hibernate.cfg.xml files

ken carlino
Greenhorn

Joined: Nov 06, 2006
Posts: 10
Hi,

Can I mix hibernate configuration data in properties and cfg.xml files?
i.e. part of it is in properties and part of it is in cfg.xml files?

Here is my code:


But I get this exception, when i run it:



I did set the database dialect in my hibernate.cfg.xml file:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can i mix hibernate configuration data in properties and hibernate.cfg.xml files