You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The [!INCLUDE[jdbcNoVersion](../../../includes/jdbcnoversion_md.md)] provides an API that can be used within Java programming code to connect to and interact with a [!INCLUDE[msCoName](../../../includes/msconame_md.md)][!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] database.
20
-
19
+
## Overview
21
20
21
+
The [!INCLUDE[jdbcNoVersion](../../../includes/jdbcnoversion_md.md)] provides an API that can be used within Java programming code to connect to and interact with a [!INCLUDE[msCoName](../../../includes/msconame_md.md)][!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] database.
22
22
23
-
### JavaDoc.io Website is Primary
23
+
### JavaDoc.io website is primary
24
24
25
25
The Microsoft JDBC API Reference documentation is hosted for your viewing on the JavaDoc.io website. JavaDoc.io is now our primary website for JDBC reference documentation. Our JDBC reference documentation on JavaDoc.io is available at the following direct link:
JavaDoc.io has our JDBC reference documentation starting with version 6.0.
30
30
31
-
#### Only Legacy JDBC Documentation is Here on Docs
32
-
33
-
The JDBC API Reference documentation articles here on **https://docs.microsoft.com/sql/connect/jdbc/reference/** are no longer being updated when the JDBC classes are updated for new releases. However, the articles here do contain all the reference for JDBC versions 4.1 and 4.2.
34
-
35
-
Documentation for JDBC version 6.0, and some later versions, is also here. But for any version 6.0 or later, use the JavaDoc.io website.
36
-
37
-
38
-
39
-
### Important Notes
40
-
41
-
> [!NOTE]
42
-
> For conceptual information about using the JDBC driver, see [Overview of the JDBC Driver](../../../connect/jdbc/overview-of-the-jdbc-driver.md).
43
-
44
-
> [!IMPORTANT]
45
-
> For JDBC 4.1 and 4.2 compliance support, use Microsoft JDBC Driver 4.2 (or higher) for SQL Server. The previous Microsoft JDBC Drivers 4.1 and 4.0 releases do not support new methods introduced with JDBC 4.1 or 4.2.
46
-
>
47
-
> API details for JDBC 4.1 compliance are not in this section. See [JDBC 4.1 Compliance for the JDBC Driver](../../../connect/jdbc/jdbc-4-1-compliance-for-the-jdbc-driver.md).
48
-
>
49
-
> API details for JDBC 4.2 compliance are not found in this section. See [JDBC 4.2 Compliance for the JDBC Driver](../../../connect/jdbc/jdbc-4-2-compliance-for-the-jdbc-driver.md).
50
-
>
51
-
> API details for Bulk Copy, available starting with Microsoft JDBC Driver 4.2 for SQL Server, are not found in this section. See [Using Bulk Copy with the JDBC Driver](../../../connect/jdbc/using-bulk-copy-with-the-jdbc-driver.md).
52
-
>
53
-
> API details for Always Encrypted, available starting with Microsoft JDBC Driver 6.0 for SQL Server, are not found in this section. See [Always Encrypted API Reference for the JDBC Driver](../../../connect/jdbc/always-encrypted-api-reference-for-the-jdbc-driver.md)
54
-
>
55
-
> API details for Using Table-Valued Parameters, available starting with Microsoft JDBC Driver 6.0 for SQL Server, are not found in this section. See [Using Table-Valued Parameters](../../../connect/jdbc/using-table-valued-parameters.md)
56
-
>
57
-
> Microsoft JDBC Driver 6.4 supports compilation with JDK 7.0, 8.0, and 9.0.
58
-
>
59
-
> Microsoft JDBC Driver 6.2 supports compilation with JDK 7.0, and 8.0.
60
-
>
61
-
> Microsoft JDBC Drivers 6.0 and 4.2 support compilation with JDK 5.0, 6.0, 7.0, and 8.0.
62
-
>
63
-
> Microsoft JDBC Driver 4.1 supports compilation with JDK 5.0, 6.0, and 7.0.
64
-
65
-
66
-
67
-
## Interfaces
68
-
69
-
|Interface Name|Description|
70
-
|--------------------|-----------------|
71
-
|[ISQLServerCallableStatement Interface](../../../connect/jdbc/reference/isqlservercallablestatement-interface.md)|Lets you specify the stored procedure name to call along with input and output parameters.|
72
-
|[ISQLServerConnection Interface](../../../connect/jdbc/reference/isqlserverconnection-interface.md)|Represents a JDBC connection to a [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] database.|
73
-
|[SQLServerDataSource Class](../../../connect/jdbc/reference/sqlserverdatasource-class.md)|Represents a list of properties specific to connecting to a [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] database by using a [ISQLServerConnection](../../../connect/jdbc/reference/sqlserverconnection-class.md) object.|
74
-
|[ISQLServerPreparedStatement](../../../connect/jdbc/reference/isqlserverpreparedstatement-interface.md)|Represents the basic implementation of JDBC prepared statement functionality.|
75
-
|[ISQLServerResultSet](../../../connect/jdbc/reference/isqlserverresultset-interface.md)|Represents a JDBC result set.|
76
-
|[ISQLServerStatement](../../../connect/jdbc/reference/isqlserverstatement-interface.md)|Represents the basic implementation of JDBC statement functionality.|
31
+
#### Only legacy JDBC documentation is here on docs
32
+
33
+
The JDBC API Reference documentation here on this website is no longer being updated. However, the articles here do contain the reference for JDBC driver versions 4.1 and 4.2.
34
+
35
+
Documentation for JDBC driver version 6.0, and some later versions, is also here. For any version 6.0 or later, use the [JavaDoc.io website](https://javadoc.io/doc/com.microsoft.sqlserver/mssql-jdbc/).
36
+
37
+
### Important notes
38
+
39
+
> [!NOTE]
40
+
> For conceptual information about using the JDBC driver, see [Overview of the JDBC Driver](../overview-of-the-jdbc-driver.md).
41
+
42
+
> [!IMPORTANT]
43
+
> For JDBC 4.1 and 4.2 compliance support, use Microsoft JDBC Driver 4.2 (or higher) for SQL Server. The previous Microsoft JDBC Drivers 4.1 and 4.0 releases do not support new methods introduced with JDBC 4.1 or 4.2.
44
+
>
45
+
> API details for JDBC 4.1 compliance are not in this section. See [JDBC 4.1 Compliance for the JDBC Driver](../jdbc-4-1-compliance-for-the-jdbc-driver.md).
46
+
>
47
+
> API details for JDBC 4.2 compliance are not found in this section. See [JDBC 4.2 Compliance for the JDBC Driver](../jdbc-4-2-compliance-for-the-jdbc-driver.md).
48
+
>
49
+
> API details for Bulk Copy, available starting with Microsoft JDBC Driver 4.2 for SQL Server, are not found in this section. See [Using Bulk Copy with the JDBC Driver](../using-bulk-copy-with-the-jdbc-driver.md).
50
+
>
51
+
> API details for Always Encrypted, available starting with Microsoft JDBC Driver 6.0 for SQL Server, are not found in this section. See [Always Encrypted API Reference for the JDBC Driver](../always-encrypted-api-reference-for-the-jdbc-driver.md)
52
+
>
53
+
> API details for Using Table-Valued Parameters, available starting with Microsoft JDBC Driver 6.0 for SQL Server, are not found in this section. See [Using Table-Valued Parameters](../using-table-valued-parameters.md)
54
+
>
55
+
> Microsoft JDBC Driver 6.4 supports compilation with JDK 7.0, 8.0, and 9.0.
56
+
>
57
+
> Microsoft JDBC Driver 6.2 supports compilation with JDK 7.0, and 8.0.
58
+
>
59
+
> Microsoft JDBC Drivers 6.0 and 4.2 support compilation with JDK 5.0, 6.0, 7.0, and 8.0.
60
+
>
61
+
> Microsoft JDBC Driver 4.1 supports compilation with JDK 5.0, 6.0, and 7.0.
62
+
63
+
## Interfaces
64
+
65
+
|Interface Name|Description|
66
+
|--------------------|-----------------|
67
+
|[ISQLServerCallableStatement Interface](isqlservercallablestatement-interface.md)|Lets you specify the stored procedure name to call along with input and output parameters.|
68
+
|[ISQLServerConnection Interface](isqlserverconnection-interface.md)|Represents a JDBC connection to a [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] database.|
69
+
|[SQLServerDataSource Class](sqlserverdatasource-class.md)|Represents a list of properties specific to connecting to a [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] database by using a [ISQLServerConnection](sqlserverconnection-class.md) object.|
70
+
|[ISQLServerPreparedStatement](isqlserverpreparedstatement-interface.md)|Represents the basic implementation of JDBC prepared statement functionality.|
71
+
|[ISQLServerResultSet](isqlserverresultset-interface.md)|Represents a JDBC result set.|
72
+
|[ISQLServerStatement](isqlserverstatement-interface.md)|Represents the basic implementation of JDBC statement functionality.|
77
73
| | |
78
74
79
-
80
-
81
-
## Classes
82
-
83
-
|Class Name|Description|
84
-
|----------------|-----------------|
85
-
|[DateTimeOffset](../../../connect/jdbc/reference/datetimeoffset-class.md)|Represents an object of type microsoft.sql.DateTimeOffset.|
86
-
|[SQLServerBlob](../../../connect/jdbc/reference/sqlserverblob-class.md)|Represents a binary large object (BLOB).|
|[SQLServerConnectionPoolDataSource](../../../connect/jdbc/reference/sqlserverconnectionpooldatasource-class.md)|Represents physical database connections for connection pool managers.|
91
-
|[SQLServerDatabaseMetaData](../../../connect/jdbc/reference/sqlserverdatabasemetadata-class.md)|Represents the metadata for the database.|
92
-
|[SQLServerDataSource](../../../connect/jdbc/reference/isqlserverdatasource-interface.md)|Represents a list of properties specific to connecting to a [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] database by using a [SQLServerConnection](../../../connect/jdbc/reference/sqlserverconnection-class.md) object.|
93
-
|[SQLServerDataSourceObjectFactory](../../../connect/jdbc/reference/sqlserverdatasourceobjectfactory-class.md)|Represents an object factory to materialize data sources from the Java Naming and Directory Interface (JNDI).|
94
-
|[SQLServerDriver](../../../connect/jdbc/reference/sqlserverdriver-class.md)|Represents the JDBC driver. This class includes methods for connecting to a [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] database, and for obtaining information about the JDBC driver.|
95
-
|[SQLServerException](../../../connect/jdbc/reference/sqlserverexception-class.md)|Represents an unsuccessful or incomplete running of an SQL statement.|
96
-
|[SQLServerNClob Class](../../../connect/jdbc/reference/sqlservernclob-class.md)|Represents a character large binary object using the National Character Set.|
97
-
|[SQLServerParameterMetaData](../../../connect/jdbc/reference/sqlserverparametermetadata-class.md)|Represents the metadata for prepared statement parameters.|
98
-
|[SQLServerPooledConnection](../../../connect/jdbc/reference/sqlserverpooledconnection-class.md)|Represents a physical database connection in a connection pool.|
|[SQLServerResource](../../../connect/jdbc/reference/sqlserverresource-class.md)|Represents a localized error string resource. This class is intended for internal use only.|
|[SQLServerResultSetMetaData](../../../connect/jdbc/reference/sqlserverresultsetmetadata-class.md)|Represents the metadata of the columns that are contained within a result set.|
103
-
|[SQLServerSavepoint](../../../connect/jdbc/reference/sqlserversavepoint-class.md)|Represents the checkpoint to which a transaction can be rolled back.|
|[SQLServerXAConnection](../../../connect/jdbc/reference/sqlserverxaconnection-class.md)|Represents JDBC connections that can participate in distributed (XA) transactions.|
106
-
|[SQLServerXADataSource](../../../connect/jdbc/reference/sqlserverxadatasource-class.md)|Represents a factory for [SQLServerXAConnection](../../../connect/jdbc/reference/sqlserverxaconnection-class.md) objects that is used internally.|
107
-
|[SQLServerXAResource](../../../connect/jdbc/reference/sqlserverxaresource-class.md)|Represents an XAResource for XA distributed transaction management.|
75
+
## Classes
76
+
77
+
|Class Name|Description|
78
+
|----------------|-----------------|
79
+
|[DateTimeOffset](datetimeoffset-class.md)|Represents an object of type microsoft.sql.DateTimeOffset.|
80
+
|[SQLServerBlob](sqlserverblob-class.md)|Represents a binary large object (BLOB).|
|[SQLServerConnectionPoolDataSource](sqlserverconnectionpooldatasource-class.md)|Represents physical database connections for connection pool managers.|
85
+
|[SQLServerDatabaseMetaData](sqlserverdatabasemetadata-class.md)|Represents the metadata for the database.|
86
+
|[SQLServerDataSource](isqlserverdatasource-interface.md)|Represents a list of properties specific to connecting to a [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] database by using a [SQLServerConnection](sqlserverconnection-class.md) object.|
87
+
|[SQLServerDataSourceObjectFactory](sqlserverdatasourceobjectfactory-class.md)|Represents an object factory to materialize data sources from the Java Naming and Directory Interface (JNDI).|
88
+
|[SQLServerDriver](sqlserverdriver-class.md)|Represents the JDBC driver. This class includes methods for connecting to a [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] database, and for obtaining information about the JDBC driver.|
89
+
|[SQLServerException](sqlserverexception-class.md)|Represents an unsuccessful or incomplete running of an SQL statement.|
90
+
|[SQLServerNClob Class](sqlservernclob-class.md)|Represents a character large binary object using the National Character Set.|
91
+
|[SQLServerParameterMetaData](sqlserverparametermetadata-class.md)|Represents the metadata for prepared statement parameters.|
92
+
|[SQLServerPooledConnection](sqlserverpooledconnection-class.md)|Represents a physical database connection in a connection pool.|
|[SQLServerXAConnection](sqlserverxaconnection-class.md)|Represents JDBC connections that can participate in distributed (XA) transactions.|
100
+
|[SQLServerXADataSource](sqlserverxadatasource-class.md)|Represents a factory for [SQLServerXAConnection](sqlserverxaconnection-class.md) objects that is used internally.|
101
+
|[SQLServerXAResource](sqlserverxaresource-class.md)|Represents an XAResource for XA distributed transaction management.|
108
102
| | |
109
103
104
+
## See also
110
105
111
-
112
-
## See Also
113
-
[Overview of the JDBC Driver](../../../connect/jdbc/overview-of-the-jdbc-driver.md)
114
-
106
+
[Overview of the JDBC driver](../overview-of-the-jdbc-driver.md)
0 commit comments