-->
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: about to open: 19 open PreparedStatements, 0 open ResultSet
PostPosted: Tue Aug 31, 2004 9:30 pm 
Beginner
Beginner

Joined: Wed Aug 04, 2004 9:01 pm
Posts: 21
Hello all,

SUBJECT: APPLICATION HANGS at following line
DEBUG BatcherImpl.logOpenPreparedStatement(196) about to open: 19 open PreparedStatements, 0 open ResultSet

I have been working with hibernate for a while now and I am facing the following problem when I am searching for entries. I think that I am missing something rudimentary. Please let me know if the following rings any bells

2004-08-31 21:30:55 DEBUG BatcherImpl.logOpenPreparedStatement(196) - about to open: 19 open PreparedStatements, 0 open ResultSets

The application hangs at this point and I have to click browser refresh twice before it processes the results again


2004-08-31 21:23:21 DEBUG SearchAction.simpleSearchDisplay(?) - start
2004-08-31 21:23:21 DEBUG BaseDispatchAction.execute(?) - start
2004-08-31 21:23:21 DEBUG CreateAction.showCreate(?) - start
2004-08-31 21:30:55 DEBUG BaseDispatchAction.execute(?) - start
2004-08-31 21:30:55 DEBUG BaseEntryTypeAction.simpleSearch(?) - start
2004-08-31 21:30:55 DEBUG HibernateUtil.currentSession(?) - Opening new Session for this thread.
2004-08-31 21:30:55 DEBUG SessionImpl.<init>(555) - opened session
2004-08-31 21:30:55 DEBUG SessionImpl.flushEverything(2242) - flushing session
2004-08-31 21:30:55 DEBUG SessionImpl.flushEntities(2435) - Flushing entities and processing referenced collections
2004-08-31 21:30:55 DEBUG SessionImpl.flushCollections(2776) - Processing unreferenced collections
2004-08-31 21:30:55 DEBUG SessionImpl.flushCollections(2790) - Scheduling collection removes/(re)creates/updates
2004-08-31 21:30:55 DEBUG SessionImpl.flushEverything(2266) - Flushed: 0 insertions, 0 updates, 0 deletions to 0 objects
2004-08-31 21:30:55 DEBUG SessionImpl.flushEverything(2271) - Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections
2004-08-31 21:30:55 DEBUG SessionImpl.autoFlushIfRequired(1814) - Dont need to execute flush
2004-08-31 21:30:55 DEBUG BatcherImpl.logOpenPreparedStatement(196) - about to open: 19 open PreparedStatements, 0 open ResultSets


Top
 Profile  
 
 Post subject: about to open: 19 open PreparedStatements, 0 open ResultSet
PostPosted: Thu Jul 28, 2005 4:29 pm 
Newbie

Joined: Thu Jul 28, 2005 4:23 pm
Posts: 3
Location: Ecuador
I have the same problem, and I solved it increasing the size of connection pool.

Do you have another solution ?

tks.

_________________
I just know, that I do nothing not know.


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.