Singh M.
Posts: 154
Nickname: ms
Registered: Mar, 2002
|
|
Re: JDBC help needed
|
Posted: Apr 5, 2002 8:16 PM
|
|
This will happen if you are using the same Statement object for executing the query.
According to the java doc. for resultset,
A ResultSet is automatically closed by the Statement that generated it when that Statement is closed, re-executed, or is used to retrieve the next result from a sequence of multiple results. A ResultSet is also automatically closed when it is garbage collected.
Hope?@this helps.
|
|