SSIS JDBC-ODBC Bridge Connector
If you are new with SSIS and ZappySys SSIS PowerPack then check below links to get started.
PrerequisitesBefore we perform steps listed in this article, you will need to make sure following prerequisites are met:
- SSIS designer installed. Sometimes it is referred as BIDS or SSDT (download it from Microsoft site).
- Basic knowledge of SSIS package development using Microsoft SQL Server Integration Services.
- Make sure ZappySys SSIS PowerPack is downloaded and installed (download it). Check Getting started section for more information.
- Optional (If you want to Deploy and Schedule ) - Deploy and Schedule SSIS Packages
Create ODBC Data Source (DSN) based on ZappySys JDBC Driver
To get data from JdbC-OdbcBridge using SSIS we first need to create a DSN (Data Source) which will access data from JdbC-OdbcBridge. We will later be able to read data using SSIS. Perform these steps:
Install ZappySys ODBC PowerPack.
Open ODBC Data Sources (x64):
Create a System Data Source (System DSN) based on ZappySys JDBC Bridge DriverZappySys JDBC Bridge DriverYou should create a System DSN (instead of a User DSN) if the client application is launched under a Windows System Account, e.g. as a Windows Service. If the client application is 32-bit (x86) running with a System DSN, use ODBC Data Sources (32-bit) instead of the 64-bit version. Furthermore, a User DSN may be created instead, but then you will not be able to use the connection from Windows Services (or any application running under a Windows System Account).
Now, we need JDBC Bridge Connection. Lets create it. When you see DSN Config Editor with zappysys logo first thing you need to do is change default DSN Name at the top and Configure JDBC Bridge Driver. Enter Credentials (In this Example We have used PostgreSQL Credentials) and then Click on Test Connection to verify your credentials.Note: Enter suitable JDBC Driver Credentials, You can read data from any JDBC Driver
This example shows how to write simple SOQL query (JDBC Bridge Object Query Language). It uses WHERE clause. For more SOQL Queries click here.
SOQL is similar to database SQL query language but much simpler and many features you use in database query may not be supported in SOQL (Such as JOIN clause not supported). But you can use following Queries for Insert, Update, Delete and Upsert(Update or Insert record if not found).SELECT orderid, customerid, orderdate, orderamount FROM "public"."zappysys"
Click OK to finish creating the data source
How to read JDBC-ODBC Bridge data in SSIS
In this section we will learn how to configure and use JDBC-ODBC Bridge Connector in the ODBC Source to get data from JDBC-ODBC Bridge.
Begin with opening Visual Studio and Create a New Project.
Select Integration Service Project and in new project window set the appropriate name and location for project. And click OK.
In the the new SSIS project screen you will find the following:
Note: If you don't see ZappySys SSIS PowerPack Task or Components in SSIS Toolbox, please refer to this help link.
- SSIS ToolBox on left side bar
- Solution Explorer and Property Window on right bar
- Control flow, data flow, event Handlers, Package Explorer in tab windows
- Connection Manager Window in the bottom
Now, Drag and Drop SSIS Data Flow Task from SSIS Toolbox. Double click on the Data Flow Task to see Data Flow designer.
From the SSIS toolbox drag and drop ODBC Source on the dataflow designer surface
Double click on ODBC Source component to configure it.
Click on New... button, It will open Configure ODBC Connection Manager, Click on New... button to configure new connection using Connection Manager.
Select User OR System DSN from the lists of data source names and then click on Test Connection and you will get Test Connection successful message click on OK to close that message and click on OK to close the Connection Manager window.
ODBC Connection Manager is set. Now, Select Data access mode: Table Name and select your desired table from the list of tables or views then click on Preview... and click on Close and OK button to save configuration settings.
That's it; we are done. In a few clicks we configured the ODBC Source Component to read JDBC-ODBC Bridge data using SSIS.
Load JDBC-ODBC Bridge data in SQL Server using Upsert Destination (Insert or Update)
Once you read data from the desired source, now let's see how to Load JDBC-ODBC Bridge data in SQL Server using Upsert Destination. Upsert Destination can Merge/Synchronize data from source to target for Microsoft SQL Server, PostgreSql and Redshift. It supports very fast Bulk Upsert (Update or Insert) operation along and Bulk delete.
From the SSIS toolbox drag and drop Upsert Destination on the dataflow designer surface
Connect our Source component to Upsert Destination
Double click on Upsert Destination component to configure it.
Select the desired Microsoft SQL Server/PostgreSql/Redshift Target Connection or click NEW to create new connection. Select Target Table or click NEW to create new table based on source columns.
Configure SSIS Upsert Destination Connection - Loading data (REST / SOAP / JSON / XML /CSV) into SQL Server or other target using SSIS
Set Action to Upsert => (insert if not matching in target else update). Select Target Connection and Target Table. Check on Insert and Update. Click on Map All to Mappings all columns and check on Only Primary Key columns.
Click on OK to save Upsert Destination settings UI.
That's it; we are done. Run the SSIS Package and it will read the data from the JDBC-ODBC Bridge and load the the data in the SQL Server/PostgreSql/Redshift.
ConclusionIn this article we discussed how to connect to JDBC-ODBC Bridge in SSIS and integrate data without any coding. Click here to Download JDBC-ODBC Bridge Connector for SSIS and try yourself see how easy it is. If you still have any question(s) then ask here or simply click on live chat icon below and ask our expert (see bottom-right corner of this page).
Other App Integration scenarios for JDBC-ODBC Bridge
Other Connectors for SSIS
How to connect JDBC-ODBC Bridge in SSIS?
How to get JDBC-ODBC Bridge data in SSIS?
How to read JDBC-ODBC Bridge data in SSIS?
How to load JDBC-ODBC Bridge data in SSIS?
How to import JDBC-ODBC Bridge data in SSIS?
How to pull JDBC-ODBC Bridge data in SSIS?
How to push data to JDBC-ODBC Bridge in SSIS?
How to write data to JDBC-ODBC Bridge in SSIS?
How to POST data to JDBC-ODBC Bridge in SSIS?
Call JDBC-ODBC Bridge API in SSIS
Consume JDBC-ODBC Bridge API in SSIS
JDBC-ODBC Bridge SSIS Automate
JDBC-ODBC Bridge SSIS Integration
Integration JDBC-ODBC Bridge in SSIS
Consume real-time JDBC-ODBC Bridge data in SSIS
Consume realtime JDBC-ODBC Bridge API data in SSIS
JDBC-ODBC Bridge ODBC Driver | ODBC Driver for JDBC-ODBC Bridge | ODBC JDBC-ODBC Bridge Driver | SSIS JDBC-ODBC Bridge Source | SSIS JDBC-ODBC Bridge Destination
Connect JDBC-ODBC Bridge in SSIS
Load JDBC-ODBC Bridge in SSIS
Load JDBC-ODBC Bridge data in SSIS
Read JDBC-ODBC Bridge data in SSIS
JDBC-ODBC Bridge API Call in SSIS