다음을 통해 공유


getWarnings Method (SQLServerConnection)

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

public java.sql.SQLWarning getWarnings()

반환 값

A SQLWarning object.

예외

SQLServerException

주의

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

Subsequent warnings are chained to the first SQLWarning and called with the getNextWarning method. If called on a closed connection, an exception will be thrown.

참고 항목

참조

SQLServerConnection Class

개념

SQLServerConnection Methods
SQLServerConnection Members