Hi,
I need to do configure Hibernate 4 without the xml file.
In my case the parameters to configure will be given when the application has already start up.
I been looking in : http://docs.jboss.org/hibernate/ogm/4.0/reference/en-US/html/ogm-configuration.html but I can't figure out how to do it.
I look in the forum and found this: https://forum.hibernate.org/viewtopic.php?p=2369905 but there is still a xml file!
And finally I try this: http://blog.keksrolle.de/2010/04/13/initializing-hibernate-without-xml.html but is all marked as deprecated, so I don't believe is good!
Any help will be appreciated.
Cheers
|