CData JDBC Driver for CockroachDB
The CData JDBC Driver for CockroachDB offers the most natural way to connect to CockroachDB data from Java-based applications and developer technologies. The driver wraps the complexity of accessing CockroachDB data in an easy-to-integrate, 100%-Java JDBC driver. The driver hides the complexity of accessing data and provides additional powerful security features, batching, socket management, and more.
- Write SQL to retrieve and update CockroachDB 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 CockroachDB data. See the CockroachDB integration guides for information on connecting from other applications.
NOTE: The license file, cdata.jdbc.cockroachdb.lic, must be in the same location as the JAR file, cdata.jdbc.cockroachdb.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 CockroachDB data.
Using from Tools walks through the steps of integration with JDBC tools, using several popular database tools as examples.
See Schema Discovery to access schema information through the standard JDBC interfaces.
Advanced FeaturesAdvanced Features details additional features supported by the driver, such as , ssl configuration, remoting, 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.
Connection String Options
The Connection properties describe the various options that can be used to establish a connection.