301a299
> boolean moreResults = _stmt.getMoreResults();
302a301,308
> if (!moreResults && -1 == updateCount)
> {
> // There is no need to close result sets if we call _stmt.getMoreResults() because it
> // implicitly closes any current ResultSet.
> // ON DB2 version 7.1 it is even harmful to close a ResultSet explicitly.
> // _stmt.getMoreResults() will never return true anymore if you do.
> break;
> }
360,368d365
< break;
< }
<
< if (!_stmt.getMoreResults() && -1 == updateCount)
< {
< // There is no need to close result sets if we call _stmt.getMoreResults() because it
< // implicitly closes any current ResultSet.
< // ON DB2 version 7.1 it is even harmful to close a ResultSet explicitly.
< // _stmt.getMoreResults() will never return true anymore if you do.
|