CData JDBC Driver for Google Spanner
The CData JDBC Driver for Google Spanner offers the most natural way to connect to Google Spanner data from Java-based applications and developer technologies. The driver wraps the complexity of accessing Google Spanner data in an easy-to-integrate, 100%-Java JDBC driver. Applications can then access Google Spanner as a traditional database. The driver hides the complexity of accessing data and provides additional powerful security features, smart caching, batching, socket management, and more.
- Write SQL to retrieve and update Google Spanner data.
- Compliant with JDBC 3.0 and JDBC 4.0.
- Codeless integration with popular BI, reporting, and ETL tools.
Getting StartedSee Getting Started for A-Z guides on authenticating and connecting to Google Spanner data. See the Google Spanner integration guides for information on connecting from other applications.
NOTE: The license file, cdata.jdbc.googlespanner.lic, must be in the same location as the JAR file, cdata.jdbc.googlespanner.jar. See the readme file for more information.
Using the JDBC Driver/Using from Tools
See Using JDBC for examples of using standard JDBC classes like DataSource, Connection, Statement, ResultSet, and others, to work with Google Spanner data.
Using from Tools walks through the steps of integration with JDBC tools, using several popular database tools as examples.
Advanced FeaturesAdvanced Features details additional features supported by the driver, such as defining user defined views, ssl configuration, remoting, caching, firewall/proxy settings, and advanced logging.
See JDBC Remoting to configure remote access to the JDBC data source. The JDBC remoting feature allows hosting the JDBC connection on a server to enable connections from virtually anywhere -- various clients on any platform (Java, .NET, C++, PHP, Python, and so on) and using any standards-based technology (ODBC, JDBC, and so on). JDBC remoting is enabled using the popular MySQL wire protocol server.
See SQL Compliance for a syntax reference and code examples outlining the supported SQL.
See Data Model for information on the available entities and how to query them.
Connection String Options
The Connection properties describe the various options that can be used to establish a connection.