Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.42 KB

setxopenstates-method-sqlserverdatasource.md

File metadata and controls

38 lines (28 loc) · 1.42 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic apilocation apiname apitype
setXopenStates Method (SQLServerDataSource)
setXopenStates Method (SQLServerDataSource)
David-Engel
davidengel
01/19/2017
sql
connectivity
reference
sqljdbc.jar
SQLServerDataSource.setXopenStates
Assembly

setXopenStates Method (SQLServerDataSource)

[!INCLUDEDriver_JDBC_Download]

Sets a Boolean value that indicates if converting SQL states to XOPEN compliant states is enabled.

Syntax

  
public void setXopenStates(boolean xopenStates)  

Parameters

xopenStates

true if converting SQL states to XOPEN compliant states is enabled. Otherwise, false.

Remarks

If the xopenStates property is set to true, the [!INCLUDEjdbcNoVersion] will convert SQL states to XOPEN compliant states. The default is false, which causes the JDBC driver to generate SQL 99 state codes. If xopenStates is not set, the getXopenStates method returns the default value of false.

See Also

SQLServerDataSource Members
SQLServerDataSource Class