{"id":54573,"library":"mssql-jdbc","title":"Microsoft JDBC Driver for SQL Server","description":"Microsoft JDBC Driver for SQL Server, providing database connectivity for Java applications.","status":"active","version":"13.5.0.jre8-preview","language":"java","source_language":null,"source_url":"https://github.com/Microsoft/mssql-jdbc","tags":["database","sql-server","jdbc","microsoft"],"install":[{"cmd":"<dependency>\n  <groupId>com.microsoft.sqlserver</groupId>\n  <artifactId>mssql-jdbc</artifactId>\n  <version>13.5.0.jre8-preview</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'com.microsoft.sqlserver:mssql-jdbc:13.5.0.jre8-preview'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"SQLServerDriver","correct":"com.microsoft.sqlserver.jdbc.SQLServerDriver"}],"quickstart":{"code":"import java.sql.Connection;\nimport java.sql.DriverManager;\nimport com.microsoft.sqlserver.jdbc.SQLServerDriver;\n\npublic class Example {\n    public static void main(String[] args) throws Exception {\n        String url = \"jdbc:sqlserver://localhost;databaseName=test;user=sa;password=pass\";\n        try (Connection conn = DriverManager.getConnection(url)) {\n            System.out.println(\"Connected!\");\n        }\n    }\n}","lang":"java","description":"Connecting to SQL Server using JDBC driver."},"warnings":[{"fix":"Use a stable release like 12.8.0.jre8 for production.","message":"Version 13.5.0.jre8-preview is a preview release and may have breaking changes.","severity":"breaking","affected_versions":"13.5.0.jre8-preview"}],"env_vars":null,"search_vec":"'applic':18 'connect':15 'databas':14,19 'driver':3,9 'java':17 'jdbc':2,8,23 'microsoft':1,7,24 'provid':13 'server':6,12,22 'sql':5,11,21 'sql-server':20","created_at":"2026-06-15T09:14:36.096554+00:00","updated_at":"2026-06-15T09:14:36.096554+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/Microsoft/mssql-jdbc","github":"https://github.com/Microsoft/mssql-jdbc","docs":"https://appdoc.app/artifact/com.microsoft.sqlserver/mssql-jdbc/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["database"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}