SK SKYVVA Documentation

2.5 Database Integration (JDBC)

2.5.1  Database Integration (JDBC)

Database Integration includes Oracle, SQL Server, Ms Access, and MySQL Integration. A. SF – Agent: JDBC Oracle Integration Use Case:

Requisites:

Assume that on Salesforce, there is Account data created today as follows:

SF – Agent (Oracle)

Agent (Oracle) - 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

Step 2: Agent UI interaction

A.  Salesforce – Agent Integration:

Supply your Salesforce organization info and environment and click “Test Salesforce Connection” for Testing. [su_box title="Remark" box_color="#2a8af0" title_color="#000000"]There are two Integrations fields here:

We need to create a new integration for SF – Agent by clicking New Integration:

Please see section “FAQs” for more details 

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

As a result, you will see the figure as shown below:

B. Agent – SF: JDBC Oracle Integration

Agent - Salesforce Integration: The process is very similar to Step 2’s A section. Click “Edit Interface” on the Integration Properties Setup page as shown in the below figure:

In the figure above, noticeably:

[su_box title="Remark" 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] Step 3: Monitoring           1-Oracle Monitoring:

         2-Salesforce Monitoring:

C. MySQL Integration 

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

D. Oracle Integration

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

E.  SQL Server 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

F. 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:

[su_box title="Note" box_color="#2a8af0" title_color="#000000"]Usually, it is something like “jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb)};DBQ=path\test.mdb”[/su_box]

Open this article in the interactive viewer →