Nonstop Database, HiRDB Version 9 UAP Development Guide
Sets whether or not an exception is to be thrown if truncation occurs during acquisition of data of the LONGVARBINARY type (a JDBC SQL type).
public void setLONGVARBINARY_TruncError ( boolean mode ) throws SQLException
None.
Sets whether or not an exception is to be thrown if truncation occurs during acquisition of data of the LONGVARBINARY type (a JDBC SQL type). If this method is not set, the JDBC driver assumes that true was specified.
The specification value of this method becomes invalid if IGNORE is specified in the warningLevel argument of the setSQLWarningLevel method. In such a case, the JDBC driver operates as if false were specified.
A truncation that occurs when LONGVARBINARY data is retrieved refers to the action that occurs when the flowing conditional expression is satisfied:
actual-length-of-LONGVARBINARY-data-retrieved-by-SQL-execution > data-length-specified-by-setMaxBinarySize |
None.
All Rights Reserved. Copyright (C) 2011, Hitachi, Ltd.