(a) Function
Specifies the warning retention level that occurred during execution of SQL statements.
(b) Format
public void setSQLWarningLevel (String warningLevel)
(c) Argument
- String warningLevel
- Specifies the retention level of warning information that has been issued during execution of SQL statements. The permitted warning retention levels are listed below. For details about the relationship between the specified value and the retained warning, see 16.2.9 SQLWarning class.
- IGNORE
- SQLWARN (default)
- ALLWARN
- The value specified in the argument of this method is not case sensitive.
(d) Return value
None.
(e) Functional detail
Specifies the retention level of warning information that has been issued during execution of SQL statements.
The value specified in this method is used as the value of the HiRDB_for_Java_SQLWARNING_LEVEL property during database connection.
(f) Exception that occurs
If the specified argument value is invalid, the method throws an SQLException.