StringDescribeType
- Last Updated: June 19, 2017
- 1 minute read
- DataDirect Connectors
- JDBC
- Apache Hive 6.0
- Documentation
Purpose
Specifies whether String columns are described as VARCHAR columns. This property affects ResultSetMetaData calls; it does not affect getTypeInfo() calls.
Valid Values
varchar | longvarchar
Behavior
If set to varchar, String columns are
described as VARCHAR.
If set to longvarchar, String columns are
described as LONGVARCHAR.
Notes
To obtain data from String columns with the getClob() method, the StringDescribeType
connection property must be set to longvarchar. Otherwise, calling
getClob() results in an "unsupported data conversion" exception.
Data Source Method
setStringDescribeType
Default
varchar
Data Type
String