Nonstop Database, HiRDB Version 9 UAP Development Guide

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

18.7.52 getBatchExceptionBehavior

(a) Function

Gets the setting information about whether a JDBC standard-compliant update count is being set as the return value of the getUpdateCounts method of java.sql.BatchUpdateException, which was specified in setBatchExceptionBehavior.

(b) Format
 
public synchronized boolean getBatchExceptionBehavior()
 
(c) Arguments

None.

(d) Return value

boolean
Returns a value indicating whether a JDBC standard-compliant update count is being set as the return value of the getUpdateCounts method of java.sql.BatchUpdateException, which was specified in setBatchExceptionBehavior. If this information has not been specified, the method returns the default value TRUE.
true: A JDBC standard-compliant update count is being set.
false: A HiRDB-specific update count is being set.
(e) Functional detail

This method specifies the setting as to whether a JDBC standard-compliant update count is being set as the return value of the getUpdateCounts method of java.sql.BatchUpdateException, which was specified in setBatchExceptionBehavior.

(f) Exceptions

None.