JDBC Driver API Reference
The Microsoft JDBC Driver for SQL Server provides an API that can be used within Java programming code to connect to and interact with a Microsoft SQL Server database.
For conceptual information about using the JDBC driver, see Overview of the JDBC Driver.
For JDBC 4.1 and 4.2 compliance support, use Microsoft JDBC Driver 4.2 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.
API details for JDBC 4.1 compliance are not in this section. See JDBC 4.1 Compliance for the JDBC Driver.
API details for JDBC 4.2 compliance are not found in this section. See JDBC 4.2 Compliance for the JDBC Driver.
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.
API details for Always Encrypted, available starting with Microsoft JDBC Driver 6.0 (Preview) for SQL Server, are not found in this section. See Using Always Encrypted with the JDBC Driver
Microsoft JDBC Drivers 6.0 (Preview) and 4.2 support compilation with JDK 5.0, 6.0, 7.0, and 8.0.
Microsoft JDBC Driver 4.1 supports compilation with JDK 5.0, 6.0, and 7.0.
Microsoft JDBC Driver 4.0 supports compilation with JDK 5.0 and 6.0.
Lets you specify the stored procedure name to call along with input and output parameters.
Represents a JDBC connection to a SQL Server database.
Represents a list of properties specific to connecting to a SQL Server database by using a ISQLServerConnection object.
Represents the basic implementation of JDBC prepared statement functionality.
Represents a JDBC result set.
Represents the basic implementation of JDBC statement functionality.
Represents an object of type microsoft.sql.DateTimeOffset.
Represents a binary large object (BLOB).
Represents a character large binary object (CLOB).
Represents physical database connections for connection pool managers.
Represents the metadata for the database.
Represents a list of properties specific to connecting to a SQL Server database by using a SQLServerConnection object.
Represents an object factory to materialize data sources from the Java Naming and Directory Interface (JNDI).
Represents the JDBC driver. This class includes methods for connecting to a SQL Server database, and for obtaining information about the JDBC driver.
Represents an unsuccessful or incomplete running of an SQL statement.
Represents a character large binary object using the National Character Set.
Represents the metadata for prepared statement parameters.
Represents a physical database connection in a connection pool.
Represents a localized error string resource. This class is intended for internal use only.
Represents the metadata of the columns that are contained within a result set.
Represents the checkpoint to which a transaction can be rolled back.
Represents JDBC connections that can participate in distributed (XA) transactions.
Represents a factory for SQLServerXAConnection objects that is used internally.
Represents an XAResource for XA distributed transaction management.