Mssql Jdbc Driver Download

Home FAQ Documentation Links License Project Info Download News Bugs Forums

  • To install your download To install apps and add-ons from within Splunk Enterprise. JDBC driver for Microsoft SQL Server provides Microsoft SQL Server JDBC driver.
  • Apr 03, 2009 Download the SQL Server JDBC Driver 2.0, a Type 4 JDBC driver that provides database connectivity through the standard JDBC application program interfaces (APIs) available in Java Platform, Enterprise Edition 5 and 6.
  • JDBC drivers are Java library files with the extension.jar used by all Java applications to connect to the database. Usually, they are provided by the same company which implemented the MSSql 2005 software. DbSchema Tool already includes an MSSql 2005 driver, which is automatically downloaded when you connect to MSSql 2005.


jTDS is an open source 100% pure Java (type 4) JDBC 3.0 driver for Microsoft SQL Server (6.5, 7, 2000, 2005, 2008 and 2012) and Sybase Adaptive Server Enterprise (10, 11, 12 and 15). jTDS is based on FreeTDS and is currently the fastest production-ready JDBC driver for SQL Server and Sybase ASE. jTDS is 100% JDBC 3.0 compatible, supporting forward-only and scrollable/updateable ResultSets, concurrent (completely independent) Statements and implementing all the DatabaseMetaData and ResultSetMetaData methods. Check out the feature matrix for more details.

Feb 27, 2018 Download the Microsoft JDBC Driver 6.0 for SQL Server, a Type 4 JDBC driver that provides database connectivity through the standard JDBC application program interfaces (APIs) available in Java Platform, Enterprise Editions.

Quite a few of the commercial JDBC drivers out there are based on jTDS (or FreeTDS), even if they no longer acknowledge this. jTDS has been tested with virtually all JDBC-based database management tools and is the driver of choice for most of these (recommended for DbVisualizer and SQuirreL SQL, distributed with Aqua Data Studio and DataDino). jTDS is also becoming a common choice for enterprise-level applications: it passes both theJ2EE 1.3 certification and Hibernate test suites, and is recommended for JBoss, Hibernate, Atlassian JIRA and Confluence and Compiere.

Getting Started

Being a type 4 driver, jTDS does not need any special installation. Just drop the jar file into your application's classpath and you're done. All you need to know is the name of the Driver and DataSource implementations and the URL format and you're all set. You can get these and a lot more information from the Frequently Asked Questions page. For features needing native libraries such as XA support or Single-Sign-On consult the specific README files.

Why use jTDS?

jTDS is free software. jTDS is released under the terms of the GNU LGPL, giving you not only the posibility to debug and tweak it to your own liking but also to use it in and distribute it with your free or commercial applications.

The other 'free' choices, the JDBC-ODBC bridge and Microsoft's own JDBC driver are not actually free. If you encounter an issue with any of them you won't be able to fix it yourself and response times from both Microsoft and Oracle are anything but short.

jTDS is also the most performant JDBC driver for both SQL Server and Sybase. We have an older benchmark result but we strongly encourage you to download any benchmark published by commercial JDBC driver vendors and see for yourself. Here are a couple of benchmarks you could use: JNetDirect's JDBC Performance Benchmark and i-net Software's BenchTest 2.1 for MS SQL Server.

Anyway, just give it a spin. Get the latest one from here and see whether you like it or not.

Mssql Jdbc Driver Download
Written by Nam Ha Minh
Last Updated on 13 March 2020 Print Email
This post lists resources to download JDBC drivers for common databases, for your reference in database programming with Java.You know, in order for Java applications working with a database engine via Java Database Connectivity (JDBC), an appropriate JDBC driver library is required to be available in the application’s classpath. A JDBC driver library consists of Java classes which implement low-level communication with the database engine. It talks with Java applications via JDBC API and usually bundled as a JAR or ZIP file.For your reference and convenience, this article provides a summary of JDBC driver download for common databases including MySQL, SQL Server, Oracle, PostgreSQL, Apache Derby (Java DB), SQLite and Microsoft Access. If you use Maven, see the Maven dependencies for those JDBC drivers below.In the table below, click on the download link corresponding to the database you want to download its JDBC driver JAR file:Jdbc

JDBC Driver Download:


JDBC Driver Provider

JAR file name



Oracle Corporation


SQL Server

Microsoft Corporation

sqljdbc41.jar, sqljdbc42.jar


Oracle Corporation

ojdbc6.jar, ojdbc7.jar, ojdbc8.jar

The PostgreSQL Global Development Group


Apache Derby

Apache Software Foundation

derby.jar, derbyclient.jar



Microsoft Access



  • Some drivers come as JAR files (Oracle, PostgreSQL), so you can add the JAR files directly to your application’s classpath.
  • Some drivers come as zipped bundles (MySQL, SQL Server), so you have to extract the bundles and copy the appropriate JAR file (as specified in the above table) to your application’s classpath.
  • There is a distribution of Apache Derby comes with JDK 7 called Java DB. So if you are using JDK 7, you can use the jar files directly from JDK_HOMEdblib directory without downloading Apache Derby. However, Java DB is removed from JDK since Java 8.

Maven Dependencies for JDBC Drivers

If your Java project uses Maven, simply add the following dependency in the pom.xmlfile.

Maven Dependency for MySQL JDBC Driver:

Mysql jdbc driver download jar for eclipse

Maven Dependency for Microsoft JDBC driver for SQL Server:

Sql Server Jdbc Driver Download Maven

Maven Dependency for Oracle JDBC Driver:

NOTE: Due to Oracle's license restriction, you must manually download Oracle JDBC driver and use system dependency like that.

Maven Dependency for PostgreSQL JDBC Driver:

Maven Dependency for SQLite JDBC Driver:

Maven Dependency for Apache Derby JDBC Driver:

Oracle Jdbc Download

Maven Dependency for Microsoft Access JDBC Driver:

NOTE: The versions of the dependencies listed above may not be up to date. You can search on Maven Central Repository for the latest versions.

Related JDBC Tutorials:

Mysql Jdbc Driver Download Jar Download

About the Author:

Nam Ha Minh is certified Java programmer (SCJP and SCWCD). He started programming with Java in the time of Java 1.4 and has been falling in love with Java since then. Make friend with him on Facebook and watch his Java videos you YouTube.