[Resolved] Invalid Cursor State error...
I posted this in the Database forum, but I feel that I might get a response here as well.
I am trying to get a ResultSet from a database, and I keep getting this SQLException..."Invaid Cursor State". Now, I know that several things could cause this, but what could those things be? I am using almost identical code on a different servlet, and am not getting any errors...
Code:
//...
Statement stmt = conn.createStatement() //connection created earlier in the code
ResultSet rs = stmt.executeQuery("SELECT * FROM Products WHERE ISBN='" + ISBN + '"); //exception is thrown here
//...
any thoughts?
:)