Microsoft JDBC Driver for SQL Server
In our continued commitment to interoperability, Microsoft provides a Java Database Connectivity (JDBC) driver for use with SQL Server, SQL Azure, and Parallel Data Warehouse (PDW). The Microsoft JDBC Driver for SQL Server is available at no additional charge, and provides Java Database Connectivity from any Java application, application server, or Java-enabled applet. This driver is a Type 4 JDBC driver that provides database connectivity through the standard JDBC application program interfaces (APIs).
The Microsoft JDBC Driver for SQL Server has been tested against major application servers such as IBM WebSphere, and SAP NetWeaver.
Microsoft JDBC Driver for SQL Server Documentation
.png) |
Overview of the Microsoft JDBC Driver for SQL Server
The Microsoft SQL Server JDBC Driver 4.0 is a Java Database Connectivity (JDBC) 4.0 compliant driver that provides robust data access to SQL Server 2012, SQL Server 2008 R2, SQL Server 2008, SQL Server 2005 and SQL Azure. |
.png) |
Connecting to SQL Server with the JDBC Driver
One of the most fundamental things that you will do with the JDBC driver is to make a connection to a SQL Server database. All interaction with the database happens through the SQLServerConnection object, and because the JDBC driver has such a flat architecture, almost all interesting behavior touches the SQLServerConnection object. |
.png) |
Understanding the JDBC Driver Data Types
The JDBC driver supports the use of JDBC basic and advanced data types within a Java application that uses SQL Server as its database. |
.png) |
Using Statements with the JDBC Driver
The JDBC driver can be used to work with data in a SQL Server database in a variety of ways. The JDBC driver can be used to run SQL statements against the database, or it can be used to call stored procedures in the database, using both input and output parameters. |
.png) |
Managing Result Sets with the JDBC Driver
The JDBC driver supports the use of result sets, including result set cursor types, concurrency, and row locking. |
.png) |
Performing Transactions with the JDBC Driver
The topics in this section describe how the JDBC driver supports transactions including isolation levels, transaction savepoints, and result set holdability. |
.png) |
JDBC Driver API Reference
The JDBC driver implements a number of classes that make up the JDBC driver application programming interface (API). The JDBC API can be used within Java programming code to connect to and interact with a Microsoft SQL Server database. |