IS ResultSet thread safe

Posted by javatraniee on Stack Overflow See other posts from Stack Overflow or by javatraniee
Published on 2010-05-08T13:07:34Z Indexed on 2010/05/08 13:08 UTC
Read the original article Hit count: 153

Filed under:
|
|

Is ResultSet Thread safe?

My question arises because in this i have used a different statement for each query i have delsared a ResultSet as an local variable but it gives me a error of Operation not allowed after ResultSet is closed. But my statements are working as i'm using the statements in insert and delete query.I have commented the ResultSet part and have not got the error !!

The source code of my program can be referd to , in my earlier Question .

© Stack Overflow or respective owner

Related posts about jdbc

Related posts about java