Data Type Handling Properties
- Last Updated: January 23, 2018
- 1 minute read
- DataDirect Connectors
- JDBC
- Apache Spark SQL 6.0
- Documentation
The following table summarizes connection properties which can be used to handle data types.
| Property | Characteristic |
|---|---|
Specifies how columns of the Binary type are
described. This property affects ResultSetMetaData calls.
getTypeInfo() calls are affected only when the property is set to
longvarbinary. In this
configuration, an additional LONGVARBINARY entry is added to the
getTypeInfo results. If set to If set to The default
is |
|
| ConvertNull |
Controls how data conversions are handled for null values. If set to If set to The default is |
|
Determines which algorithm the driver uses when converting a double or float value to a string value. By default, the driver uses its own internal conversion algorithm, which improves performance. If set to If set to The default is |
|
| MaxBinarySize | Specifies the maximum length, in bytes, of fields of the Binary data type when
described by the driver through result set descriptions and metadata
methods. If a field exceeds the specified length, the driver
truncates that field. The default is 2147483647. |
|
Specifies whether String columns are described as VARCHAR or LONGVARCHAR. This property affects resultSetMetaData() calls; it does not affect getTypeInfo() calls. If set to If set to The default is |