
The three ELT Oracle components are closely related, in terms of their operating
conditions. These components should be used to handle Oracle DB schemas to generate
Insert statements, including clauses, which are to be executed in the DB output table
defined.
|
Component family |
ELT/Map/Oracle |
|
|
Function |
Helps to graphically build the SQL statement using the table |
|
|
Purpose |
Uses the tables provided as input, to feed the parameter in the |
|
|
Basic settings |
Use an existing connection |
Select this check box and in the Component List click the NoteWhen a Job contains the parent Job and the child Job, if you need to share an existing
For an example about how to share a database connection across Job levels, see |
|
|
ELT Oracle Map Editor |
The ELT Map editor allows you to define the output schema and make |
|
|
Style link |
Auto: By default, the links
Bezier curve: Links between the
Line: Links between the schema and This option slightly optimizes performance. |
|
|
Property type |
Either Built-in or Repository. Since version 5.6, both the Built-In mode and the Repository mode are |
|
|
|
Built-in: No property data stored |
|
|
|
Repository: Select the Repository |
|
Connection type |
Drop-down list of the available drivers. |
|
|
|
DB Version |
Select the Oracle version you are using. |
|
|
Host |
Database server IP address |
|
|
Port |
Listening port number of DB server. |
|
|
Database |
Name of the database |
|
|
Username and |
DB user authentication data. To enter the password, click the […] button next to the |
|
|
Mapping |
Automatically set mapping parameter. |
|
Advanced settings |
Additional JDBC Parameters |
Specify additional connection properties for the DB connection you |
|
Use Hint Options |
Select this check box to activate the hint configuration area to – HINT: specify the hint you – SQL STMT: select the SQL |
|
|
|
tStatCatcher Statistics |
Select this check box to gather the Job processing metadata at a |
|
Dynamic settings |
Click the [+] button to add a row in the table and fill The Dynamic settings table is available only when the For more information on Dynamic settings and context |
|
|
Global Variables |
ERROR_MESSAGE: the error message generated by the A Flow variable functions during the execution of a component while an After variable To fill up a field or expression with a variable, press Ctrl + For further information about variables, see Talend Studio |
|
|
Usage |
tELTOracleMap is used along with NoteNote that the ELT components do not handle actual data flow |
|
For detailed information regarding ELT component connections, see Connecting ELT components.
Related topic: see Talend Studio User
Guide.
In the ELT Mapper, you can select specific columns from input schemas and include
them in the output schema.
For detailed information regarding the table schema mapping and joining, see Mapping and joining tables.
Note
When you need to join a lot of tables or need to join tables by multiple join
conditions with outer joins, it is recommended to use the LEFT OUTER JOIN (+) and the RIGHT OUTER
JOIN (+) options that allow you to use the Oracle private
keywords. For further information about these two private keywords, see the
site: http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm.
You can also restrict the Select statement based on a Where clause and/or other clauses such
as Group By, Order By, etc. by clicking the Add filter
row button at the top of the output table in the map editor.
To add a restriction based on a Where clause, click the Add
filter row button and select Add a WHERE
clause from the popup menu.
To add a restriction based on Group By, Order By etc., click the Add filter row button and select Add an
other(GROUP…) clause from the popup menu.

Make sure that all input components are linked correctly to the ELT Map component to
be able to implement all inclusions, joins and clauses.
This scenario is based on the data aggregation scenario, Scenario 1: Aggregating table columns and filtering.
As the data update action is available in Oracle DB, this scenario describes a Job that
updates particular data in the agg_result table.

-
As described in Scenario 1: Aggregating table columns and filtering, set up a Job for data aggregation
using the corresponding ELT components for Oracle DB, tELTOracleInput, tELTOracleMap,
and tELTOracleOutput, and execute the Job to
save the aggregation result in a database table named
agg_result.
Note
When defining filters in the ELT Map editor, note that strings are case sensitive
in Oracle DB.
-
Launch the ELT Map editor and add a new output table named
update_data. -
Add a filter row to the update_data table to set up a
relationship between input and output tables:owners.ID_OWNER =.
agg_result.ID_OWNER -
Drop the MAKE column from the cars
table to the update_data table. -
Drop the NAME_RESELLER column from the
resellers table to the update_data
table. -
Add a model enclosed in single quotation marks, A8 in
this use case, to the MAKE column from the cars table,
preceded by a double pipe. -
Add Sold by enclosed in single quotation marks in front
of the NAME_RESELLER column from the
resellers table, with a double pipe in between.

-
Check the Generated SQL select query tab to
be executed.

-
Click OK to validate the changes in the ELT
Mapper. -
Deactivate the tELTOracleOutput component
labeled Agg_Result by right-clicking it and selecting
Deactivate Agg_Result from the contextual
menu. -
Drop a new tELTOracleOutput component from
the Palette to the design workspace, and label
it Update_Data to better identify its functionality. -
Connect the tELTOracleMap component to the
new tELTOracleOutput component using the link
corresponding to the new output table defined in the ELT Mapper,
update_data in this use case. -
Double-click the new tELTOracleOutput
component to display its Basic settings view.

-
From the Action on data list, select
Update. -
Check the schema, and click Sync columns to
retrieve the schema structure from the preceding component if necessary. -
In the WHERE clauses area, add a clause that
readsagg_result.MAKE = 'Audi'to update data relating to the make
of Audi in the database table
agg_result. -
Fill the Default Table Name field with the
name of the output link, update_data in this use
case. -
Select the Use different table name check
box, and fill the Table name field with the
name of the database table to be updated, agg_result in
this use case. -
Leave the other parameters as they are.
-
Save your Job and press F6 to run it.
The relevant data in the database table is updated as defined.

For a related scenario using subquery, see Scenario: Mapping data using a subquery.