17.7.26 getSQLWarningLevel

(a) Function

Gets the warning retention level that was set by the setSQLWarningLevel method.

(b) Format

public String getSQLWarningLevel() throws SQLException

(c) Arguments

None.

(d) Return value
String
This is the warning retention level that was set by the setSQLWarningLevel method. For details about the return value and the warnings that are retained, see 17.4.10(2)(b) Issuing conditions for SQLWarning objects.
(e) Functional detail

Returns the information that was set by the setSQLWarningLevel method. If no information has been set, the default value SQLWARN is returned.

(f) Exceptions

None.