JDBCBehavior
- Last Updated: May 30, 2024
- 1 minute read
- DataDirect Connectors
- JDBC
- Documentation
Purpose
Determines how the driver describes database data types that map to the following JDBC 4.0 data types: NCHAR, NVARCHAR, NLONGVARCHAR, NCLOB, and SQLXML.
Valid Values
0 | 1
Behavior
If set to 0, the driver describes the data
types as JDBC 4.0 data types.
If set to 1, the driver describes the data
types using JDBC 3.0-equivalent data types. This allows your application to continue using
JDBC 3.0 types. In addition, the JDBC 4.0 method ResultSet.getHoldability() returns the
value of the JDBC 3.0 method Connection.getHoldability().
Data Source Methods
public Integer getJDBCBehavior()
public void setJDBCBehavior(Integer)
Default
1
Data Type
Int