This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes Operation not allowed after ResultSet closed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Operation not allowed after ResultSet closed" Watch "Operation not allowed after ResultSet closed" New topic
Author

Operation not allowed after ResultSet closed

Singh Anisha
Ranch Hand

Joined: May 09, 2012
Posts: 100



This function is returning null pointer Exception.
SQL Exception Operation not allowed after ResultSet closed
Arun Giridhar
Ranch Hand

Joined: Mar 10, 2012
Posts: 172

Singh Anisha wrote:

What these Line says to You ? ..


Lisp is God!
Singh Anisha
Ranch Hand

Joined: May 09, 2012
Posts: 100

Its closing the connection not the statement.. so that it could throw exception.
Arun Giridhar
Ranch Hand

Joined: Mar 10, 2012
Posts: 172

Singh Anisha wrote:Its closing the connection not the statement.


Huh ?! ... If you close the Connection then your closing statement and resultset too. This post has to moved to Jdbc Forum.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Operation not allowed after ResultSet closed
 
It's not a secret anymore!