Error: [Microsoft][ODBC Driver Manager] Invalid cursor state
Anyone know what causes that error?
I can't see anything wrong in my code..
:(
Printable View
Error: [Microsoft][ODBC Driver Manager] Invalid cursor state
Anyone know what causes that error?
I can't see anything wrong in my code..
:(
Odds are, you are trying to access a field twice. I've gotten this plenty of times. For example :
That is the usual cause in my experience. Is this a possiblity in your case?Code://...
System.out.println(rs.getObject("USER_NAME"));
System.out.println(rs.getObject("USER_NAME"));
//...
:)