이 페이지에서는 Spanner에서 GoogleSQL 언어 데이터베이스와 PostgreSQL 언어 데이터베이스에 지원하는 JDBC 드라이버를 설명합니다. 이러한 드라이버를 사용하여 Java 애플리케이션에서 Spanner에 연결할 수 있습니다. Spanner는 다음 JDBC 드라이버를 지원합니다.
Google에서 작성, 제공, 지원하는 오픈소스 JDBC 드라이버인 Spanner JDBC 드라이버(Cloud 클라이언트 라이브러리와 유사). 이는 특히 GoogleSQL 언어에서 권장되는 Spanner용 JDBC 드라이버입니다. PostgreSQL 언어 데이터베이스에 연결하는 데도 사용할 수 있습니다.
PGAdapter와 결합된 PostgreSQL JDBC 드라이버. 이 드라이버는 PostgreSQL 언어 데이터베이스만 지원합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-05(UTC)"],[],[],null,["# JDBC drivers\n\nThis page describes the JDBC drivers that Spanner supports for\nGoogleSQL-dialect databases and PostgreSQL-dialect databases. You can use these drivers to connect to\nSpanner from Java applications. Spanner supports the\nfollowing JDBC drivers:\n\n- The Spanner JDBC driver, which is an open-source JDBC driver that is written, provided, and supported by Google, similar to the [Cloud Client Libraries](/spanner/docs/reference/libraries). This is the recommended JDBC driver for Spanner, especially for the GoogleSQL dialect. You can also use it to connect to PostgreSQL-dialect databases.\n- The PostgreSQL JDBC driver in combination with PGAdapter. This driver only supports PostgreSQL-dialect databases.\n\n| **Note:** Spanner previously supported the Simba JDBC driver. If you already use the Simba driver with Spanner, you can continue to do so.\n\nFor information about the Spanner JDBC driver, see [Spanner JDBC driver FAQ](/spanner/docs/open-source-jdbc) and\n[How to use the Spanner JDBC driver](/spanner/docs/use-oss-jdbc).\n\nFor information about the PostgreSQL JDBC driver, see\n[Connect JDBC to a PostgreSQL-dialect database](/spanner/docs/pg-jdbc-connect)."]]