getWarnings Method (SQLServerResultSet)

Retrieves the first warning reported by calls on this SQLServerResultSet object.

备注

This method is not currently supported by the Microsoft SQL Server 2005 JDBC Driver. If called this method will always return a null value.

public java.sql.SQLWarning getWarnings()

返回值

An SQLWarning object.

异常

SQLServerException

备注

This getWarnings method is specified by the getWarnings method in the java.sql.ResultSet interface.

另请参见

参考

SQLServerResultSet Class

概念

SQLServerResultSet Methods
SQLServerResultSet Members