ConvertNull
- Last Updated: May 15, 2020
- 1 minute read
- DataDirect Connectors
- JDBC
- IBM Db2 5.1
- MySQL 5.1
- Progress OpenEdge 5.1
- SAP Sybase 5.1
- Documentation
Purpose
Controls how data conversions are handled for null values.
Valid Values
0 | 1
Behavior
If set to 0, the driver does not perform the data type check if the value
of the column is null. This allows null values to be returned even though a conversion
between the requested type and the column type is undefined.
If set to 1, the driver checks the data type being requested against the
data type of the table column storing the data. If a conversion between the requested type
and column type is not defined, the driver generates an "unsupported data conversion"
exception regardless of the data type of the column value.
Default
1
Data Type
int