-->
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: Resultset getting closed when c3p0 Connection Pooling Used
PostPosted: Thu Feb 15, 2007 7:47 am 
Newbie

Joined: Thu Feb 15, 2007 7:20 am
Posts: 4
Hi,

I am firing a hql in a method say A and iterating throught the result in a loop.
Within the loop I am calling a method say B which inturn fires another hql or uses criteria.

When the control moves back to the loop in the calling method A, I get an exception "SQL Error: 17010 SQLState: null" and the cause is Resultset getting closed.

I am not able to trace the reason behind this exception. I am passing the same session object in both the methods and not closing it in anyof the two methods.

Looking forward for help on this topic.

Regards,
Ojas Velamkar


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.