Connect to SAP Business Warehouse Data in Aqua Data Studio
The CData JDBC Driver for SAP Business Warehouse integrates SAP Business Warehouse data with wizards and analytics in IDEs like Aqua Data Studio. This article shows how to connect to SAP Business Warehouse 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 Warehouse data source can then be accessed from Aqua Data Studio tools.
- In Aqua Data Studio, select Register Server from the Servers menu.
- In the Register Server form, select the 'Generic - JDBC' connection.
- Enter the following JDBC connection properties:
- Name: Enter a name for the data source; for example, SAP Business Warehouse.
- Driver Location: Click the Browse button and select the cdata.jdbc.sapbusinesswarehouse.jar file, located in the lib subfolder of the installation directory.
- Driver: Enter the Driver's class name, cdata.jdbc.sapbusinesswarehouse.SAPBusinessWarehouseDriver.
URL: Enter the JDBC URL, which starts with jdbc:sapbusinesswarehouse: and is followed by a semicolon-separated list of connection properties.
To connect to SAP Business Warehouse, set the URL property to a valid SAP Business Warehouse server base URL. The driver must connect to SAP Business Warehouse instances hosted over HTTP with XMLA access.
The driver supports the following authentication schemes via the AuthScheme property:
- None: Anonymous authentication, if available on the server.
- Basic: Set User and Password and set AuthScheme to Basic.
- Kerberos: See the Using Kerberos section of the help documentation for the required Kerberos properties.
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.
Built-in Connection String Designer
For assistance in constructing the JDBC URL, use the connection string designer built into the SAP Business Warehouse JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.
java -jar cdata.jdbc.sapbusinesswarehouse.jar
Fill in the connection properties and copy the connection string to the clipboard.
A typical JDBC URL is below:jdbc:sapbusinesswarehouse:URL=https://mysapserver:8000;AuthScheme=Basic;User=username;Password=password;
Query SAP Business Warehouse Data
You can now query the tables exposed.