Nonstop Database, HiRDB Version 9 UAP Development Guide

[Contents][Index][Back][Next]

18.7.30 getSQLWarningIgnore

(a) Function

Gets the setting information about whether or not warnings returned from the database are to be discarded by the Connection class.

(b) Format
 
public boolean getSQLWarningIgnore()
 
(c) Arguments

None.

(d) Return value

boolean
This is the setting information about whether or not warnings are to be discarded:
true: Discards warnings.
false: Retains warnings.
(e) Functional detail

This method acquires whether warnings that occur in the Connection class are to be discarded.

The method returns the information specified by the setSQLWarningIgnore method. If this information has not been specified, the method returns the default value false.

For details about the relationships between the return value and the warnings to be retained, see 18.4.12(2)(b) Issuing conditions for SQLWarning objects.

(f) Exceptions

None.