Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.sql.SQLException: Exhausted Resultset in multithread application

843810Jul 2 2008 — edited Jul 2 2008
Hi,

I use spring application to process information from database. My application runs well when i run it with single thread. But when i run it in multiple thread only one thread gets completed and the second thread throws {color:#ff0000}java.sql.SQLException: Exhausted Resultset{color:#000000} exception and remaining thread throws {color:#ff0000}java.sql.SQLException: Closed Resultset: next{color:#000000} exception i am using hibernate to get connection from database.


Please let me if any one knows why this error occurs and give me your solutions for this.


Thanks in advance

Prasad{color}{color}
{color}{color}
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 30 2008
Added on Jul 2 2008
1 comment
450 views