Nonstop Database, HiRDB Version 9 UAP Development Guide

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

18.7.47 setStatementCloseBehavior

(a) Function

Sets whether preprocessing results are to be ignored during execution of the close method of Statement (Statement, PreparedStatement, and CallableStatement classes).

(b) Format
 
public synchronized void setStatementCloseBehavior(boolean mode)
 
(c) Arguments

boolean mode
Specifies whether preprocessing results are to be ignored during execution of the close method of Statement:
true
Ignore preprocessing results.
false
Do not ignore preprocessing results.
(d) Return value

None.

(e) Functional detail

This method sets whether preprocessing results are to be ignored during execution of the close method of Statement (Statement, PreparedStatement, and CallableStatement classes).

If this information is not specified, the method assumes that false is specified.

Specifying a value with this method is equivalent to specifying the HiRDB_for_Java_STATEMENT_CLOSE_BEHAVIOR property described in 18.2.2(2) User properties.

(f) Exceptions

None.