-->
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.  [ 2 posts ] 
Author Message
 Post subject: Specifying sessions in cfg.xml file!
PostPosted: Mon May 15, 2006 9:28 am 
Newbie

Joined: Fri Apr 07, 2006 3:43 pm
Posts: 14
Hello All,

How to specify sessions in hibernate.cfg.xml file???



Thx


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 15, 2006 1:03 pm 
Senior
Senior

Joined: Wed Aug 17, 2005 12:56 pm
Posts: 136
Location: Erie, PA (USA)
Please read Hibernate docs. SessionFactories are configured in .cfg.xml file and are created by "startup" code using Configuration.configure. Sessions are created from SessionFactory as needed.

_________________
---- Don't forget to rate! ----


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

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.