Retrieves the direction for fetching rows from database tables that is the default for result sets that are generated from this SQLServerStatement object.

Note: This method is not currently implemented by Microsoft SQL Server 2005 JDBC Driver. Therefore, it will always return FETCH_UNKNOWN.

public final int getFetchDirection()

Return Value

An integer that indicates the fetch direction that is specified by the setFetchDirection method.

Exceptions

SQLServerException

Remarks

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

See Also