Index Help

tmOracleOutput

About: This component adds "Delete obsolete" functionality to the existing tOracleOutput component.

"Delete Obsolete" option is enabled for all variants of "Insert and Update" data actions. If Delete Obsolete is turned on, all records from the target table that were not inserted or updated from the input row set, will be deleted. In other words, records from the target table that do not exist in the source set (matched on predefined IDs) will be deleted. This is like full synchronization between the source and the target record set.

Parameters (in addition to the existing tOracleOutput parameters):
- Delete obsolete records – enable deleting the obsolete records.
- Where clause condition for delete obsolete - optional where clause for deleted records. Only records that satisfy the where clause and are not in the input set will be deleted.

The component uses HashSet to store the IDs of the processed records. The limitation is that this is not efficient for large data sets. The component can be further enhanced to use disk implementation of HashSet, or to store the IDs of processed records in a database table.

Revision list

expand/collapse all

Revision 1.2 45 Downloads, Released on 2009-05-14
Download revision 1.2

Compatible with: 3.0.4, 3.0.3, 3.0.2

Changed the where clause to accept Java expression instead of literal.

Revision 1.1 20 Downloads, Released on 2009-05-06
Revision 1.0 15 Downloads, Released on 2009-05-05

Copyright © 2006 - 2010 Talend. All rights reserved. Talend Contributor Agreement