10.5.7 getSQLWarningKeep()
- Organization of this subsection
(1) Function
This method acquires the setting as to whether warning information generated during execution of SQL statements is to be retained. The method acquires the information that was specified by the setSQLWarningKeep method.
(2) Format
public synchronized boolean getSQLWarningKeep() throws SQLException
(3) Arguments
None.
(4) Return value
This method returns the setting as to whether warning information generated is to be retained by the Connection class:
-
true: Warning information is to be retained.
-
false: Warning information is to be not retained.
If the setSQLWarningKeep method has not been executed, the method returns true (default value).
(5) Exceptions
None.