setXopenStates Method (SQLServerDataSource)

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

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, Microsoft SQL Server JDBC Driver 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

Reference

SQLServerDataSource Class

Concepts

SQLServerDataSource Methods
SQLServerDataSource Members