JDBC Driver for SAP Success Factors LMS

Build 25.0.9539

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 Success Factors LMS 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.sapsuccessfactorslms.SAPSuccessFactorsLMSDriver
  3. Provide the JDBC URL. For example:
    jdbc:sapsuccessfactorslms:User=username;UserType=Password;CompanyId=CompanyId;Url=https://api4.successfactors.com
    
    or
    
    jdbc:cdata:sapsuccessfactorslms:User=username;UserType=Password;CompanyId=CompanyId;Url=https://api4.successfactors.com

    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:sapsuccessfactorslms:" or "jdbc:cdata:sapsuccessfactorslms:" and can include any of the connection properties in name-value pairs separated with semicolons.

Connecting to SAPSuccessFactorsLMS

Before you can connect to SAPSuccessFactorsLMS, you must configure the OAuth application tied to your SAPSuccessFactorsLMS account. See Creating a Custom OAuth App for a procedure.

After you have configured your OAuth application, set the following to connect:

  • URL: The base URL of your SAP SuccessFactors instance. You can find this value in the URL of your SAP SuccessFactors homepage before the first forward slash (/). For example: https://mycompany.successfactors.eu
  • User: The username you use to log in to your SAP SuccessFactors account.
  • CompanyId: The unique name assigned to your SAPSuccessFactorsLMS tenant. You can find this value in the URL of your SAP SuccessFactors homepage, between "https://" and ".successfactors" (or ".sapsf" in the case of preview instances).
  • UserType: The type of user being used. Select either Admin if your account has the admin role or User if it does not.
  • OAuthClientId: The value of the Client ID field, as noted during the configuration of your OAuth application.
  • OAuthClientSecret: The value of the Newly Generated Client Secret, as noted during the configuration of your OAuth application.

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