Hitachi

Hitachi Advanced Database Application Development Guide


8.2.2 clearWarnings()

Organization of this subsection

(1) Function

This method clears all warnings reported to the Connection object.

Once this method has been called, the return value of the getWarnings method is null until a new warning is reported for this Connection object.

(2) Format

public synchronized void clearWarnings() throws SQLException

(3) Arguments

None.

(4) Return value

None.

(5) Exceptions

If this Connection object is closed, the JDBC driver throws an SQLException.