Connect to SAP Business One DI Data in Aqua Data Studio

Ready to get started?

Download for a free trial:

Download Now

Learn more:

SAP Business One DI JDBC Driver

Rapidly create and deploy powerful Java applications that integrate with SAP Business One DI.

Access SAP Business One DI data from tools in Aqua Data Studio such as the Visual Query Builder and the Table Data Editor.

The CData JDBC Driver for SAP Business One DI integrates SAP Business One DI data with wizards and analytics in IDEs like Aqua Data Studio. This article shows how to connect to SAP Business One DI 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 SAP Business One DI 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, SAP Business One DI.
    • Driver Location: Click the Browse button and select the cdata.jdbc.sapbusinessonedi.jar file, located in the lib subfolder of the installation directory.
    • Driver: Enter the Driver's class name, cdata.jdbc.sapbusinessonedi.SAPBusinessOneDIDriver.
    • URL: Enter the JDBC URL, which starts with jdbc:sapbusinessonedi: and is followed by a semicolon-separated list of connection properties.

      To connect to SAP Business One DI data, specify the following connection properties:

      • DBServerType: The type of server being connected to.
      • Server: The name or IP address of the Business One DI server to connect to.
      • CompanyDB: The company to connect to.
      • User: The username used when connecting to the LicenseServer.
      • Password: The password used when connecting to the LicenseServer.
      • LicenseServer (optional): Set this if your License Server is different from the Server.
      • UseTrusted (optional): Set to TRUE to connect using Windows credentials.

      Built-in Connection String Designer

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

      java -jar cdata.jdbc.sapbusinessonedi.jar

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

      A typical JDBC URL is below:


Query SAP Business One DI Data

You can now query the tables exposed.