clearWarnings()

Syntax:

void clearWarnings() throws SQLException

Description:

Clears all warnings reported for this Connection object. After a call to this method, the method getWarnings returns null until a new warning is reported for this Connection object.

Throws:

SQLException - if a database access error occurs

Reference:

For more information, reference JDBC documentation for: Connection.clearWarnings()