JDBC Driver for SAP BusinessObjects BI

Build 25.0.9434

Establishing a Connection

Creating a JDBC Data Source

You can create a JDBC data source to connect from your Java application. Creating a JDBC data source based on the CData JDBC Driver for SAP BusinessObjects BI consists of three basic steps:

  1. Add the driver JAR file to the classpath. The JAR file is located in the lib subfolder of the installation directory. Note that the .lic file must be located in the same folder as the JAR file.
  2. Provide the driver class. For example:
    cdata.jdbc.sapbusinessobjectsbi.SAPBusinessObjectsBIDriver
  3. Provide the JDBC URL. For example:
    jdbc:sapbusinessobjectsbi:User=MyUser;Password=MyPassword;Url=http://myserver:6405/biprws;
    
    or
    
    jdbc:cdata:sapbusinessobjectsbi:User=MyUser;Password=MyPassword;Url=http://myserver:6405/biprws;

    You can use the second format above whenever there is a conflict in your application between drivers using the same URL format to ensure you are using the CData driver. The URL must start with either "jdbc:sapbusinessobjectsbi:" or "jdbc:cdata:sapbusinessobjectsbi:" and can include any of the connection properties in name-value pairs separated with semicolons.

Connecting to SAPBusinessObjectsBI

To connect to your SAP BusinessObjects BI instance, you must set the following:

  • URL: The SAP BusinessObjects BI REST API URL. To discover this:

    1. Log into the Central Management Console.
    2. Choose Applications from the combo box.
    3. Select RESTful Web Service. The Central Management Console displays the access URL, which is http://{Server-Name}:6405/biprws by default.

  • AuthScheme: Set this to the type of authentication to use when connecting to SAP BusinessObjects BI.

Basic

To connect to SAP BusinessObjects BI using the default Basic authentication mechanism, set the AuthScheme to Basic, and set these properties:

  • User: The username of your instance.
  • Password: The password of your instance.

Enterprise

To connect to SAP BusinessObjects BI using Enterprise authentication, set the AuthScheme to Enterprise, and set these properties:

  • User: The username of your instance.
  • Password: The password of your instance.

LDAP

To connect to SAP BusinessObjects BI using LDAP authentication, set the AuthScheme to LDAP, and set these properties:

  • User: The LDAP username.
  • Password: The password of the LDAP user.

WinAD

To connect to SAP BusinessObjects BI using Windows AD authentication, set the AuthScheme to WinAD, and set these properties:

  • User: The Windows Active Directory user.
  • Password: The password of the user.

CyberArk

To connect to CyberArk, set the AuthScheme to CyberArk, and set these properties:

  • User: The CyberArk login name (user@domain).
  • Password: The CyberArk user's password.
  • SSOLoginURL: The app's single sign on URL.
  • SSOExchangeURL: The url used for the exchange of the SAML token for SAP BusinessObjects BI credentials.

If you have configured MFA, you must use combinations of SSOProperties to authenticate using CyberArk. Set any of the following, as applicable:

  • MFAType: If you have configured MFA, set this to the name of the mechanism that should be selected during authentication.
  • MFAPassCode: If you have configured MFA, set this to a valid answer for the selected mechanism.
    If you set this to an empty or an invalid value, the driver initiates the out-of-band mechanism. The driver polls the API until the challenge is completed through user interaction before deciding on closing the connection.
  • MFATimeout: If you have configured MFA, set this to the number of seconds the driver should continue polling the API until the challenge is completed through user interaction. By default, the driver polls the API for 60 seconds before closing the connection.

Example connection string:

AuthScheme=CyberArk;SSOLoginURL='https://abc1234.id.cyberark.cloud/run?appkey=00000000-0000-0000-0000-000000000000&customerId=ABC1234';User=cyberarkUserName;Password=cyberarkPassword;SSOExchangeUrl=http://myserver:8080/biprws/saml/SSO;

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434