JDBC Driver for SAP Business Warehouse

Build 26.0.9655

Establishing a Connection

Creating a JDBC Data Source

You can create a JDBC data source to connect from your Java application, based on CData JDBC Driver for SAP Business Warehouse.

Follow these steps:

  1. Add the driver JAR file to the classpath. The JAR file is located in the installation directory's lib subfolder. Ensure that the .lic file is located in the same folder as the JAR file.
  2. Provide the driver class. For example:
    cdata.jdbc.sapbusinesswarehouse.SAPBUSINESSWAREHOUSEDriver
  3. Provide the JDBC URL. For example:
    jdbc:sapbusinesswarehouse:User=myuseraccount;Password=mypassword;URL=http://localhost:8000/sap/bw/xml/soap/xmla;

    Or, if there is a conflict in your application between drivers using the same URL format, use this form to ensure that you are using the CData driver:

    jdbc:cdata:sapbusinesswarehouse:User=myuseraccount;Password=mypassword;URL=http://localhost:8000/sap/bw/xml/soap/xmla;

    Ensure that the URL starts with either jdbc:sapbusinesswarehouse: or jdbc:cdata:sapbusinesswarehouse:. The URL can include any of the connection properties in name-value pairs separated with semicolons.

Connecting to SAP Business Warehouse

To connect, set the URL property to a valid SAP Business Warehouse server base URL and provide authentication. The driver must connect to SAP Business Warehouse instances hosted over HTTP with XMLA access.

Authenticating to SAP Business Warehouse

The following authentication methods are supported:

  • Basic
  • Anonymous Authentication (None)
  • Kerberos

Basic

Set User and Password and set AuthScheme to Basic.

Anonymous Authentication

If anonymous authentication is available, set AuthScheme to None to avoid authentication.

Kerberos

See Using Kerberos for details on how to authenticate with Kerberos.

Securing SAP Business Warehouse Connections

By default, the driver attempts to negotiate SSL/TLS by checking the server's certificate against the system's trusted certificate store. To specify another certificate, see the SSLServerCert property for the available formats.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9655