-->
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.  [ 7 posts ] 
Author Message
 Post subject: No more data available
PostPosted: Sun May 02, 2004 4:33 am 
Newbie

Joined: Sun May 02, 2004 4:10 am
Posts: 4
Hi All,

I'm using hibernate 2.1.2 with Tomcat and MSSQL.
The application is running great, but after a while I get this exception:

[ERROR] JDBCExceptionReporter - -Could not execute query <java.sql.SQLException: [SQLServer JDBC Driver]No more data available to read.>java.sql.SQLException: [SAP_Portals][SQLServer JDBC Driver]No more data available to read.

It happens after running select query.
I have to retart the application in order to fix it.

Any ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 02, 2004 4:38 am 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
the error seems to come from the jdbc driver, not hibernate, what does google say about this sql error?


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 02, 2004 4:50 am 
Newbie

Joined: Sun May 02, 2004 4:10 am
Posts: 4
yeah, I know that it come from the driver, but after I tried to search google I think this is something because of the connection or statement was closed or timed out.
So I thought maybe hibernate is not refreshing the connection or statements.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 02, 2004 5:09 am 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
what pool are you using?


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 02, 2004 5:12 am 
Newbie

Joined: Sun May 02, 2004 4:10 am
Posts: 4
I didn't configure any connection pool, I'm using hibernate default configuration.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 02, 2004 5:13 am 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
try proxool, hibernate default pool is only for dev environment, but you should switch as soon a possible to proxool


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 02, 2004 5:18 am 
Newbie

Joined: Sun May 02, 2004 4:10 am
Posts: 4
Thanks a lot for your help, I will try that.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 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.