/
/
JDBC

Google Spanner JDBC Driver

Easily connect live Google Spanner data with Java-based BI, ETL, reporting, AI/ML & custom apps.

Other Google Technologies
Decorative Icon Google Spanner Logo
Claude
Claude
GitHub Copilot
Gemini
New
CData Drivers now work with AI Coding tools

The Google Spanner JDBC Driver enables users to connect with live Google Spanner data, directly from any applications that support JDBC connectivity. Rapidly create and deploy powerful Java applications that integrate with Google Spanner.

JDBC architecture

Google Spanner JDBC Connectivity Features

  • For interest in accessing a private beta of Spanner Analytics and Data Boost connectivity, please contact our support team at [email protected].
  • Fully compatible with Google Spanner RPC API V1
  • Connect to live Google Spanner data, for real-time data access with the Google Spanner JDBC Driver
  • Full support for data aggregation and complex JOINs in SQL queries
  • Secure connectivity through modern cryptography, including TLS 1.2, SHA-256, ECC, etc.
  • Seamless integration with leading BI, reporting, and ETL tools and with custom applications via the Google Spanner Connector.

Target Service, API

The driver connects to Google Cloud Spanner. Globally distributed relational database service.

Schema, Data Model

Models Spanner databases with full relational schema. Supports Spanner-specific data types.

Key Objects

Tables, Indexes, Views, and Interleaved Tables. Full Spanner database access.

Operations

Full SQL support through Spanner SQL dialect. CRUD operations with ACID guarantees.

Authentication

Google Cloud authentication via service account or user credentials. OAuth 2.0 support.

Start a 30-day free trial today

JDBC access to Google Spanner

Full-featured and consistent SQL access to any supported data source through JDBC


See what you can do with Google Spanner JDBC Driver

ETL, Data Warehouse
Data integration & ETL

Integrate Google Spanner into your systems and data warehouses through popular Java-based ETL/EAI tools. Supports both self-hosted environments and cloud service deployment.

BI, Reporting, Virtualization
BI, reporting & data virtualization

Connect to Google Spanner from any JDBC-compatible BI, reporting, and data virtualization platform. Provides seamless integration using SQL as the standard query interface across all tools.

Custom Java Applications
Custom Java applications

Use the Google Spanner JDBC Driver to rapidly deliver Java-based applications that connect with Google Spanner. Universal SQL-based interactivity simplifies integration and speeds time to market.

Connect to Google Spanner—empower every team

Management & Data Consumer
IT Department
ISVs & cloud service vendors

AI-assisted development with CData CLI

Build Google Spanner integrations faster with AI that understands your schema

Schema-aware AI

CData CLI gives AI coding tools access to your Google Spanner schema. No more guessing table names or column types—AI sees the same metadata in your JDBC Drivers.

Your AI knows SQL

How to find table names, column names, and how to generate SQL syntax are things that AI knows well from millions of training data. No need for customization, no hallucinations. Your AI acts like a domain specialist to Google Spanner.

More accurate, more token-efficient

With CData CLI's queryable schema detection and highly efficient queries with filters, aggregation, joins with correct pushdown, your AI will achieve more accuracy with less token usage.

Supported AI Coding Tools
Download CData CLI
FAQs

Frequently asked Google Spanner JDBC driver questions

Learn more about Google Spanner JDBC drivers for data and analytics integration

Ready to get started? Try CData for free today