-->
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: closeQueryStatement error : Statement already closed !!!
PostPosted: Tue Nov 25, 2003 1:23 pm 
Beginner
Beginner

Joined: Tue Oct 07, 2003 11:36 am
Posts: 46
Location: Rennes, France
Hi,

I am currently stressing my webapp (10 concurrent users) and the following strange exception is thrown by hibernate:
Statement already closed

I use the Sybase JConnect Driver 5.5 with the internal Hibernate pool connection (configuration below)


Code:
hibernate.dialect net.sf.hibernate.dialect.SybaseDialect
hibernate.connection.driver_class com.sybase.jdbc2.jdbc.SybDriver
hibernate.connection.username gggg
hibernate.connection.password ggggg
hibernate.connection.url jdbc:sybase:Tds:underworld:8010/GGGG
hibernate.connection.pool_size 5
hibernate.statement_cache.size 25
hibernate.proxool.pool_alias pool1


I really don't understand which part of my code would close this statement. I think there are 2 ways of thinking:
- another request is using the same connection, and has closed the resultset before this one has ended
- a sybase driver bug

Any clue ?
Any feeling ?


[code]25/11/2003 17:56:02 [ERROR] ibernate.util.JDBCExceptionReporter - JZ0S2: L'objet Statement a d


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 25, 2003 10:26 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Do NOT use the Hibernate connection pool in a production environment!


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.