Hello everyone!
In Oracle data integrator (ODI), an interface is an object which populates one datastore, called the target, with data coming from one or more other datastores, known as sources. The fields of the source datastore are linked to those in the target datastore using the concept of Mapping.
Temporary interfaces used in ODI are popularly known as Yellow Interfaces. It is because ODI generates a yellow icon at the time of creation of a yellow interface as opposed to the blue icon of a regular interface.
The advantage of using a yellow interface is to avoid the creation of Modelseach time you need to use it in an interface. Since they are temporary, they are not a part of the data model and hence don’t need to be in the Model.
So let’s begin and start creating our yellow interface!
Pre-requisites: Oracle 10g Express Edition with *SQL Plus, Oracle Data Integrator 11g.
Open *SQL Plus and create a new table Sales in Oracle. You can use any existing table as well for this tutorial. Insert some dummy data in the table as well.
create table Sales(saleid int primary key, saleperson varchar( 30 ), quantity int ); |
Sample data inside the table:
Open ODI Studio and perform the following steps!
Step 1: Create new data server, logical and physical schemas for your table. Skip to step 2 if already created.
Step 2: Create Model folder and reverse engineer your table. Skip to step 3 if already created.
Step 3: Create new interface
Make a new interface called test_yellow_interface. Make sure you select the correct logical schema. IKM used in this case is Oracle Incremental Update.
Under options set Flow Control to false and Create_Targ_Table to true.
Run the interface. If no errors occur, your yellow interface will work! Now, you can use this temporary interface instead of importing the Sales modelover and over again.
Comments
Post a Comment