getXopenStates Method (SQLServerDataSource)

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

public boolean getXopenStates()

返回值

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

备注

If the xopenStates property is set to true, the Microsoft SQL Server 2005 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.

另请参见

参考

SQLServerDataSource Class

概念

SQLServerDataSource Methods
SQLServerDataSource Members