Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.31 KB

File metadata and controls

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

getXopenStates Method (SQLServerDataSource)

[!INCLUDEDriver_JDBC_Download]

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

Syntax

  
public boolean getXopenStates()  

Return Value

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