Data type handling properties
- Last Updated: August 6, 2018
- 1 minute read
- DataDirect Connectors
- JDBC
- Apache Hive 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 |
|
|
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. |
| MaxStringSize | Specifies the maximum length, in characters, of fields of the String
data type as described by the driver through result set descriptions
and metadata methods. This property does not affect getTypeInfo()
calls. If a field exceeds the length specified by this option, 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. The default is |