-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Configure Hibernate 4 without xml file
PostPosted: Fri May 10, 2013 2:59 pm 
Newbie

Joined: Fri May 10, 2013 2:50 pm
Posts: 1
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.