Ready to get started?

Download a free trial of the JDBC-ODBC Bridge to get started:

 Download Now

Learn more:

ODBC Connectivity from Java Icon JDBC-ODBC Bridge Driver

The JDBC-ODBC Bridge provides JDBC access from any Java App to ODBC data sources on Windows, Linux and Mac. Whether your organization uses Java-based tools for reporting and analytics, or builds custom Java solutions, the CData JDBC-ODBC Bridge provides an easy way to connect with any ODBC data source.

Connect to JDBC-ODBC Bridge Data in Aqua Data Studio



Access JDBC-ODBC Bridge data from tools in Aqua Data Studio such as the Visual Query Builder and the Table Data Editor.

The CData JDBC Driver for JDBC-ODBC Bridge integrates JDBC-ODBC Bridge data with wizards and analytics in IDEs like Aqua Data Studio. This article shows how to connect to JDBC-ODBC Bridge data through the connection manager and execute queries.

Create a JDBC Data Source

You can use the connection manager to define connection properties and save them in a new JDBC data source. The JDBC-ODBC Bridge data source can then be accessed from Aqua Data Studio tools.

  1. In Aqua Data Studio, select Register Server from the Servers menu.
  2. In the Register Server form, select the 'Generic - JDBC' connection.
  3. Enter the following JDBC connection properties:
    • Name: Enter a name for the data source; for example, JDBC-ODBC Bridge.
    • Driver Location: Click the Browse button and select the cdata.jdbc.jdbcodbc.jar file, located in the lib subfolder of the installation directory.
    • Driver: Enter the Driver's class name, cdata.jdbc.jdbcodbc.JDBCODBCDriver.
    • URL: Enter the JDBC URL, which starts with jdbc:jdbcodbc: and is followed by a semicolon-separated list of connection properties.

      To connect to an ODBC data source, specify either the DSN (data source name) or specify an ODBC connection string: Set Driver and the connection properties for your ODBC driver.

      Built-in Connection String Designer

      For assistance in constructing the JDBC URL, use the connection string designer built into the JDBC-ODBC Bridge JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.

      java -jar cdata.jdbc.jdbcodbc.jar

      Fill in the connection properties and copy the connection string to the clipboard.

      A typical JDBC URL is below:

      jdbc:jdbcodbc:Driver={ODBC_Driver_Name};Driver_Property1=Driver_Value1;Driver_Property2=Driver_Value2;...

Query JDBC-ODBC Bridge Data

You can now query the tables exposed.