-->
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: DB Conn pool config: hibernate.cfg.xml vs. hibernate.propert
PostPosted: Tue Jun 15, 2004 2:18 am 
Beginner
Beginner

Joined: Wed Dec 03, 2003 10:59 am
Posts: 47
Hello,

Which of the two Hibernate config files should specify the DB connection pool information?
Should this be specified in hibernate.cfg.xml, or hibernate.properties file?

I am using Hibernate 2.1.1 and will be upgrading to 2.1.4.

Thanks,
Otis


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 15, 2004 6:45 am 
Beginner
Beginner

Joined: Wed Dec 03, 2003 10:59 am
Posts: 47
If my test is correct, the answer is: hibernate.properties

I removed _everything_ from my hibernate.cfg.xml and the DB connection pool still works.

Otis


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.