SK SKYVVA Documentation

3.2 JDBC Adapter.

JDBC Adapter

JDBC Adapter is used as a connector to transfer data from Database to Salesforce and from Salesforce to Database. The agent supports five database types include Oracle, SQLServer, MySQL, MsAcess, and PostgreSQL. The following sample is about the SQLServer configuration. Run Agent UI → Integration Wizard → Choose Integration → Choose existing interface.

  1. Adapter Section: Choose Adapter Type (JDBC) → Name Adapter
  2. Adapter Properties:
Database type: Choose SQLServer. The type of database to which the adapter connects. Select between SQLServer or other.

  1. Click “Test Source Connection” to test the connection to the specified folder and file.
  2. Click Save
Follow Reference link for more understanding –How to use JDBC Adapter (SQLserver) with Agent Control Board?

Since the user now completely understand; How to use JDBC Adapter (SQLServer) with Agent Control Board, by hitting the upper link, now we understand the Architect of the Agent Control Board. SF – Agent: JDBC Oracle Integration Users want to synchronize Account data from the Salesforce system to their DBMS system and vice versa. In this use case, we use Oracle as DBMS to/from which Account data will be synchronized from/to Salesforce respectively. Requisites

Mappings defined for Account Synchronization (SF-Agent and Agent-SF)

For example, in this case of Oracle, the SQLPLUS.exe tool is required. In the case of the SQL server, either osql.exe or sqlcmd.exe is required depending on the version of the SQL Server.

Implementation: Step 1: DBMS configuration

Salesforce – Agent Integration:

Supply your Salesforce organization info and environment and click “Test Salesforce Connection” for Testing. Remarks: There are two Integrations fields here:

We need to create a new integration for SF – Agent 

Please “FAQs” for more details 

Inbound: for Agent – SF Outbound: for SF – Agent

Click Next to do Mappings as shown in the below figure:

[su_box title="Note" box_color="#2a8af0" title_color="#000000"] If you want to change the integration setup (eg, change the SF instance info like password or token; or change integration either SF2Agent or Agent2SF), always change thru the Agent UI. Change it directly in the file might cause unexpected errors. For example, if you change the password in the file, it will cause an encryption/ decryption problem since the password shown in the file has been encrypted.[/su_box]

MySQL Integration

Pre-Integration: Check whether MySQL service is running and the required tool for integration has been installed along with the MySQL installation. The tool required for the batch process is “mysql.exe” in the directory “C:\Program Files\MySQL\MySQL Server 5.5\bin Integration Adapter properties:

Ex. “localhost” for the server installed in the current agent computer

Oracle Integration

1.Pre-Integration: Check whether Oracle service is running and the required tool for integration has been installed along with the Oracle server installation. The tool required for the batch process is “sqlplus.exe” in directory “C:\oraclexe\app\oracle\product\10.2.0\server\BIN2. Integration Adapter properties:

Ex. “localhost” for the server installed in the current agent computer

SQLserver Integration

1.Pre-Integration: Check whether Oracle service is running and the required tool for integration has been installed along with the Oracle server installation. a. For SQL 2000, the tool required for the batch process is “osql.exe” b.For SQL 2005 or higher, the tool required for the batch process is “sqlcmd.exe” 2.Integration Adapter properties:

Ex. “localhost” for the server installed in the current agent computer Port: port number of the SQL Server. By default, the value is 1433 for SQL Server 2000, and 2934 for SQL Server 2005 or higher

Ms Access Integration

1.Pre-Integration: Make sure Ms Access has been installed on the computer, and the database file format supported for the integration is 2003 file format. 2.Integration Adapter properties:

Usually, it is something like “jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb)};DBQ=path\test.mdb”

Open this article in the interactive viewer →