mssql-jdbc

(★ 1,130)

The Microsoft JDBC Driver for SQL Server is a Type 4 JDBC driver that provides database connectivity with SQL Server through the standard JDBC application program interfaces (APIs).

  • .checkstyle
  • .gitattributes
  • .gitignore
  • AGENTS.md
  • build.gradle
  • CHANGELOG.md
  • CODE_OF_CONDUCT.md
  • coding-best-practices.md
  • Coding_Guidelines.md
  • CONTRIBUTING.md
  • LICENSE
  • maven-version-rules.xml
  • mssql-jdbc-checkstyle.xml
  • mssql-jdbc_auth_LICENSE
  • mssql-jdbc_formatter.xml
  • pom.xml
  • README.md
  • review-process.md
  • SECURITY.md

🚀 설치 가이드

1. 코드 내려받기
git clone https://github.com/microsoft/mssql-jdbc

깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.

cd mssql-jdbc

방금 내려받은 프로젝트 폴더 안으로 이동합니다.

2. Maven (Java)

보통 추천
사전 준비물
  • Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
  • JDK (Java) Java 프로젝트를 빌드/실행하려면 필요합니다.
  • Maven mvn 명령어를 쓰기 위한 빌드 도구입니다.
* Run `mvn install -Pjre26`. This creates JRE 26 compatible jar in `\target` directory built against the JDBC 4.3 API with partial support (see the [support matrix](https://learn.microsoft.com/sql/connect/jdbc/microsoft-jdbc-driver-for-sql-server-support-matrix#java-and-jdbc-specification-support)). Build with JDK 26.

Maven으로 의존성 설치와 빌드를 진행합니다.

* Run `mvn install -Pjre25`. This creates JRE 25 compatible jar in `\target` directory built against the JDBC 4.3 API with partial support (see the [support matrix](https://learn.microsoft.com/sql/connect/jdbc/microsoft-jdbc-driver-for-sql-server-support-matrix#java-and-jdbc-specification-support)). Build with JDK 25.

Maven으로 의존성 설치와 빌드를 진행합니다.

* Run `mvn install -Pjre21`. This creates JRE 21 compatible jar in `\target` directory built against the JDBC 4.3 API with partial support (see the [support matrix](https://learn.microsoft.com/sql/connect/jdbc/microsoft-jdbc-driver-for-sql-server-support-matrix#java-and-jdbc-specification-support)). Build with JDK 21+.

Maven으로 의존성 설치와 빌드를 진행합니다.

* Run `mvn install -Pjre17`. This creates JRE 17 compatible jar in `\target` directory built against the JDBC 4.3 API with partial support (see the [support matrix](https://learn.microsoft.com/sql/connect/jdbc/microsoft-jdbc-driver-for-sql-server-support-matrix#java-and-jdbc-specification-support)). Build with JDK 17+.

Maven으로 의존성 설치와 빌드를 진행합니다.

* Run `mvn install -Pjre11`. This creates JRE 11 compatible jar in `\target` directory built against the JDBC 4.3 API with partial support (see the [support matrix](https://learn.microsoft.com/sql/connect/jdbc/microsoft-jdbc-driver-for-sql-server-support-matrix#java-and-jdbc-specification-support)). Build with JDK 11+.

Maven으로 의존성 설치와 빌드를 진행합니다.

BUILD SUCCESS 메시지가 뜨면 성공입니다. target/ 폴더에 결과물이 생성됩니다.

이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.

3. Gradle (Java/Kotlin)

보통
사전 준비물
  • Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
  • JDK (Java) Java/Kotlin 프로젝트를 빌드/실행하려면 필요합니다.
  • Gradle 레포에 포함된 gradlew(Gradle Wrapper)를 쓰면 Gradle을 따로 설치할 필요가 없습니다.
* Run `gradle build -PbuildProfile=jre26`. This creates JRE 26 compatible jar in `\build\libs` directory built against the JDBC 4.3 API with partial support (see the [support matrix](https://learn.microsoft.com/sql/connect/jdbc/microsoft-jdbc-driver-for-sql-server-support-matrix#java-and-jdbc-specification-support)). Build with JDK 26.

Gradle로 빌드를 진행합니다.

* Run `gradle build -PbuildProfile=jre25`. This creates JRE 25 compatible jar in `\build\libs` directory built against the JDBC 4.3 API with partial support (see the [support matrix](https://learn.microsoft.com/sql/connect/jdbc/microsoft-jdbc-driver-for-sql-server-support-matrix#java-and-jdbc-specification-support)). Build with JDK 25.

Gradle로 빌드를 진행합니다.

* Run `gradle build -PbuildProfile=jre21`. This creates JRE 21 compatible jar in `\build\libs` directory built against the JDBC 4.3 API with partial support (see the [support matrix](https://learn.microsoft.com/sql/connect/jdbc/microsoft-jdbc-driver-for-sql-server-support-matrix#java-and-jdbc-specification-support)). Build with JDK 21+.

Gradle로 빌드를 진행합니다.

* Run `gradle build -PbuildProfile=jre17`. This creates JRE 17 compatible jar in `\build\libs` directory built against the JDBC 4.3 API with partial support (see the [support matrix](https://learn.microsoft.com/sql/connect/jdbc/microsoft-jdbc-driver-for-sql-server-support-matrix#java-and-jdbc-specification-support)). Build with JDK 17+.

Gradle로 빌드를 진행합니다.

* Run `gradle build -PbuildProfile=jre11`. This creates JRE 11 compatible jar in `\build\libs` directory built against the JDBC 4.3 API with partial support (see the [support matrix](https://learn.microsoft.com/sql/connect/jdbc/microsoft-jdbc-driver-for-sql-server-support-matrix#java-and-jdbc-specification-support)). Build with JDK 11+.

Gradle로 빌드를 진행합니다.

BUILD SUCCESSFUL 메시지가 뜨면 성공입니다. build/ 폴더에 결과물이 생성됩니다.

이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.

// repository documentation