-->
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: Problem with Hibernate n database Session
PostPosted: Thu Feb 01, 2007 7:46 am 
Newbie

Joined: Wed Jan 10, 2007 7:56 am
Posts: 5
hi!

I have a problem with hibernate session ...
Although i close the session in the end n the same reflects in the logs but in the database it opens a new session every time i run the query from my application . I have also fixed the connection pool size to 5 in the config file but still it opens more than 5 session connection in the database can some one pls help.
I am using oracle database

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 02, 2007 2:51 am 
Expert
Expert

Joined: Tue Jan 30, 2007 12:45 am
Posts: 283
Location: India
Hi tamanna,

use threadLocal concept .You can get HibernateUtil.java in net.Plz.. refer that.avoid to use hibernateDaoSupport

_________________
Dharmendra Pandey


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.