다음을 통해 공유


getMoreResults Method (int)

Moves to the next result of this SQLServerStatement object and deals with any currently open result set objects according to the instructions specified by the given mode.

public final boolean getMoreResults(int mode)

매개 변수

mode

An int that indicates how to handle currently open result set objects. Must be one of the following constants:

CLOSE_CURRENT_RESULT

KEEP_CURRENT_RESULT (not supported by the JDBC driver)

CLOSE_ALL_RESULTS

반환 값

true if the returned result is a result set. Otherwise, false.

예외

SQLServerException

주의

This getMoreResults method is specified by the getMoreResults method in the java.sql.Statement interface.

If the getMoreResults method is called before results are retrieved, it behaves as specified by the mode argument and moves to the next result.

참고

The JDBC driver does not support using the KEEP_CURRENT_RESULT constant. If it is used, an exception will be thrown.

참고 항목

참조

SQLServerStatement Class

개념

getMoreResults Method (SQLServerStatement)
SQLServerStatement Methods
SQLServerStatement Members