JDBCBehavior
- Last Updated: August 21, 2024
- 1 minute read
- DataDirect Connectors
- JDBC
- Microsoft SQL Server 6.0
- 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. Additionally, the PROCEDURE_NAME column contains procedure name qualifiers.
For example, for the fully qualified procedure named 1.sp_productadd, the driver would
return sp_productadd;1.
Data source method
public Integer getJDBCBehavior()
public void setJDBCBehavior(Integer)
Default
1
Data type
Int