BatchPerformanceWorkaround
- Last Updated: May 30, 2024
- 1 minute read
- DataDirect Connectors
- JDBC
- Documentation
Purpose
The driver uses the native Db2 batch mechanism. This property determines whether restrictions are enforced to facilitate data conversions.
Valid Values
true | false
Behavior
If set to true, restrictions are removed; however, parameter sets may not
be executed in the order that they were specified.
If set to false, the methods that are used
to set the parameter values of a batch operation that is performed using a PreparedStatement
must match the database data type of the column with which the parameter is associated. This
is because Db2 servers do not perform implicit data conversions.
Data Source Methods
public Boolean
getBatchPerformanceWorkaround()
public void
setBatchPerformanceWorkaround(Boolean)
Default
false
Data Type
Boolean