In this blog, we describe how to make some Excel data available to Oracle Data Integrator (ODI).
Oracle Data Integrator supports JDBC, enabling it to access data from databases for which a JDBC driver is available. The Easysoft JDBC-ODBC Bridge extends the number of databases that are available to Oracle Data Integrator by bridging between JDBC and ODBC. You can then also work with data from back ends for which an ODBC driver is available. We use the Easysoft JDBC-ODBC Bridge and the ODBC driver for Microsoft Excel to connect Oracle Data Integrator to Microsoft Excel.
These steps show how to access some Excel data from Oracle Data Integrator on Windows:
Id MfgPartNumber Manufacturer ProductCategory CategoryCode Description CreationDate UOM Price 1 UL743E Belkin Writing Instruments WI101 .5mm burgundy Barrel Mechanical Pencil 2013-Jan-07 00:00:00 CASE 1.39 3 B5W71AW#ABA UniBall Writing Instruments WI101 Ballpoint Pen Medium Point Black Barrel Black Ink 2013-Jan-21 00:00:00 ea 1.38 7 1752266 Belkin Writing Instruments WI101 Ballpoint Pen Retractable Fine Point Black Ink 2013-Mar-10 00:00:00 dozen 2.95 4 XV87878 Belkin Writing Instruments WI101 Chisel Point Highlighter Fluorescent Green 2013-Mar-10 00:00:01 each 1.4 3 C6Z47UT#ABA Stabilio Writing Instruments WI101 Chisel Point Highlighter Turquoise Green 2013-Jan-22 00:00:00 each 2.26
Excel_Data_for_Oracle
.To do this, use the 32-bit version of ODBC Data Source Administrator on your Oracle Data Integrator machine. On some versions of Windows, this is located in Control Panel > Administrative Tools. On some version of Windows, you need to search for "ODBC" in the taskbar search box. The 32-bit version of ODBC Data Source Administrator should be clearly labelled. If in doubt, in the Windows Run dialog box, enter:
%windir%\syswow64\odbcad32.exe
In the System tab of ODBC Data Source Administrator, select Microsoft Excel Driver (.xls) and then choose Add. In the ODBC Microsoft Excel Setup dialog box, you need to specify the spreadsheet path. Leave the other settings unchanged.
For installation instructions, refer to the Easysoft JDBC-ODBC Bridge documentation.
EJOB.jar
, to the ODI userlib
directory, for example:
C:\Users\MyUser\AppData\Roaming\odi\oracledi\userlib
EJOB.jar
is installed in the following location on the machine where you installed the Easysoft JDBC-ODBC Bridge:
easysoft_install\Jars
On 64-bit Windows, the default location for easysoft_install
is:
drive:\Program Files (x86)\Easysoft Limited\Easysoft JDBC-ODBC Bridge
Property | Value |
---|---|
JDBC Driver | easysoft.sql.jobDriver |
JDBC URL | jdbc:easysoft://localhost/MyExcelDataSourceName:logonuser=MyWindowsUserOnExcelMachine:logonpassword=MyPassword |
ODI imports the data to the data model. The data is named the same name as the range you created in Excel.
If you don't see the Excel data structure in the diagram pane. Choose the Save All Button.
The Generate DDL dialog box is displayed.
Oracle Data Integrator creates a new procedure in the folder for the project you created earlier. The procedure creates a new Oracle table that will hold the Excel data.
The Generate Mappings IN dialog box is displayed. Choose OK.
A mapping between the Excel Data and the Oracle table is created.