tOracleOutput
Writes, updates, makes changes or suppresses entries in an Oracle database.
tOracleOutput executes the action
defined on the table and/or on the data contained in the table, based on the flow incoming
from the preceding component in the Job.
Depending on the Talend
product you are using, this component can be used in one, some or all of the following
Job frameworks:
-
Standard: see tOracleOutput Standard properties.
The component in this framework is available in all Talend
products. -
MapReduce: see tOracleOutput MapReduce properties (deprecated).
The component in this framework is available in all subscription-based Talend products with Big Data
and Talend Data Fabric. -
Spark Batch: see tOracleOutput properties for Apache Spark Batch.
This component can also be used to write data to a RDS Oracle database.
The component in this framework is available in all subscription-based Talend products with Big Data
and Talend Data Fabric. -
Spark Streaming: see tOracleOutput properties for Apache Spark Streaming.
This component can also be used to write data to a RDS Oracle database.
This component is available in Talend Real Time Big Data Platform and Talend Data Fabric.
tOracleOutput Standard properties
These properties are used to configure tOracleOutput running in the Standard Job
framework.
The Standard
tOracleOutput component belongs to the Databases family.
The component in this framework is available in all Talend
products.
connector. The properties related to database settings vary depending on your database
type selection. For more information about dynamic database connectors, see Dynamic database components.
Basic settings
Database |
Select a type of database from the list and click |
Property type |
Either Built-in or Repository |
 |
Built-in: No property |
 |
Repository: Select the |
Click this icon to open a database connection For more information about setting up and |
|
Use an existing |
Select this check box and in the Component List click the relevant connection component to Note: When a Job contains the parent Job and the child Job, if you
need to share an existing connection between the two levels, for example, to share the connection created by the parent Job with the child Job, you have to:
For an example about how to share a database connection |
Connection type |
Drop-down list of available drivers:
Oracle OCI: Select this
Oracle Custom: Select
Oracle Service Name:
WALLET: Select this
Oracle SID: Select this |
DB Version |
Select the Oracle version in use. |
Host |
Database server IP address. |
Port |
Listening port number of DB server. |
Database |
Name of the database. |
Username and Password |
DB user authentication data. To enter the password, click the […] button next to the |
Table |
Name of the table to be written. Note that only |
Action on table |
Note:
The Action on table list will not be available if On the table defined, you can perform one of
Default: No operation
Drop and create table:
Create table: The table
Create table if does not
Drop table if exists and
Clear table: The table
Truncate table: The
Truncate table with reuse Warning:
If you select the Use an existing connection |
Action on data |
On the data of the table defined, you can
Insert: Add new entries
Update: Make changes to Insert or update: Insert a new record. If Update or insert: Update the record with the
Delete: Remove entries Warning:
It is necessary to specify at least one Note:
The dynamic schema feature can be used in |
Schema and Edit schema |
A schema is a row description, it defines the Click Edit
This This When writing |
 |
Built-In: You create and store the schema locally for this component |
 |
Repository: You have already created the schema and stored it in the When the schema to be reused has default values that are You can find more details about how to |
Die on error |
This check box is selected by default. Clear |
Specify a data source alias |
Select this check box and specify the alias of a data source created on the If you use the component’s own DB configuration, your data source This check box is not available when the Use an existing |
Advanced settings
Use alternate |
Select this option to use a schema other than This option is available when Use an |
Additional JDBC |
Specify additional connection properties for Note:
You can press Ctrl+Space to access a list of predefined |
Commit every |
Enter the number of rows to be completed |
tStatCatcher Statistics |
Select this check box to collect log data at |
Additional Columns |
This option is not offered if you create (with |
 |
Name: Type in the name |
 |
SQL expression: Type in |
 |
Position: Select |
 |
Reference column: Type |
Use field options |
Select this check box to customize a request, |
Use Hint Options |
Select this check box to activate the hint
|
Convert columns and table to |
Select this check box to set the names of |
Debug query mode |
Select this check box to display each step during processing entries |
Use Batch Size |
Select this check box to activate the batch mode for data processing. |
Batch Size |
Specify the number of records to be processed in each batch. This field appears only when the Use batch mode |
Support null in “SQL WHERE” |
Select this check box to validate null in |
Enable parallel |
Select this check box to perform high-speed data processing, by treating
multiple data flows simultaneously. Note that this feature depends on the database or the application ability to handle multiple inserts in parallel as well as the number of CPU affected. In the Number of parallel executions field, either:
Note that when parallel execution is enabled, it is not possible to use global
|
Global Variables
Global Variables |
NB_LINE: the number of rows read by an input component or
NB_LINE_UPDATED: the number of rows updated. This is an
NB_LINE_INSERTED: the number of rows inserted. This is an
NB_LINE_DELETED: the number of rows deleted. This is an
NB_LINE_REJECTED: the number of rows rejected. This is an
QUERY: the query statement processed. This is an After To fill up a field or expression with a variable, press Ctrl + For further information about variables, see A Flow variable functions during the execution of a component while an After variable |
Usage
Usage rule |
This component offers the flexibility benefit Row > Rejects This component must be used as an output |
Dynamic settings |
Click the [+] button to add a row in the table The Dynamic settings table is For examples on using dynamic parameters, see Reading data from databases through context-based dynamic connections and Reading data from different MySQL databases using dynamically loaded connection parameters. For more information on Dynamic |
Limitation |
Due to license incompatibility, one or more JARs required to use |
Related scenarios
For tOracleOutput related topics, see:
tOracleOutput MapReduce properties (deprecated)
These properties are used to configure tOracleOutput running in the MapReduce Job framework.
The MapReduce
tOracleOutput component belongs to the Databases family.
The component in this framework is available in all subscription-based Talend products with Big Data
and Talend Data Fabric.
The MapReduce framework is deprecated from Talend 7.3 onwards. Use Talend Jobs for Apache Spark to accomplish your integration tasks.
Basic settings
Property type |
Either Built-in or Repository |
 |
Built-in: No property data stored |
 |
Repository: Select the repository |
|
Click this icon to open a database connection wizard and store the For more information about setting up and storing database connection |
Connection type |
The available drivers are:
|
DB Version |
Select the Oracle version in use. |
Host |
Database server IP address. |
Port |
Listening port number of DB server. |
Database |
Name of the database. |
Username and Password |
DB user authentication data. To enter the password, click the […] button next to the |
Oracle schema |
Oracle schema name. |
Table |
Name of the table to be written. Note that only one table can be |
Schema and Edit |
A schema is a row description, it defines the number of fields to be Click Edit
|
 |
Built-In: You create and store the schema locally for this component |
 |
Repository: You have already created the schema and stored it in the When the schema to be reused has default values that are You can find more details about how to |
Die on error |
This check box is selected by default. Clear the check box to skip the |
Advanced settings
Use Batch |
Select this check box to activate the batch mode for data processing. |
Batch Size |
Specify the number of records to be processed in each batch. This field appears only when the Use batch mode |
Usage
Usage rule |
In a Note that in this documentation, unless otherwise |
Hadoop Connection |
You need to use the Hadoop Configuration tab in the This connection is effective on a per-Job basis. |
Related scenarios
No scenario is available for the Map/Reduce version of this component yet.
tOracleOutput properties for Apache Spark Batch
These properties are used to configure tOracleOutput running in the Spark Batch Job framework.
The Spark Batch
tOracleOutput component belongs to the Databases family.
This component can also be used to write data to a RDS Oracle database.
The component in this framework is available in all subscription-based Talend products with Big Data
and Talend Data Fabric.
Basic settings
Property type |
Either Built-in or Repository |
 |
Built-in: No property data stored |
 |
Repository: Select the repository |
|
Click this icon to open a database connection wizard and store the For more information about setting up and storing database connection |
Use an existing connection |
Select this check box and in the Component List click the relevant connection component to |
Connection type |
The available drivers are:
|
DB Version |
Select the Oracle version in use. |
Host |
Database server IP address. |
Port |
Listening port number of DB server. |
Database |
Name of the database. |
Username and Password |
DB user authentication data. To enter the password, click the […] button next to the |
Oracle schema |
Oracle schema name. |
Table |
Name of the table to be written. Note that only one table can be |
Action on table |
On the table defined, you can perform one of the following operations: Default: No operation is carried out.
Drop and create table: The table is
Create table: The table does not exist
Create table if not exists: The table
Drop table if exists and create: The
Clear table: The table content is
Truncate table: The table content is
Truncate table with reuse storage: The Warning:
If you select the Use an existing |
Schema and Edit |
A schema is a row description. It defines the number of fields Click Edit
|
 |
Built-In: You create and store the schema locally for this component |
 |
Repository: You have already created the schema and stored it in the When the schema to be reused has default values that are You can find more details about how to |
Die on error |
This check box is selected by default. Clear the check box to skip the |
Advanced settings
Additional JDBC parameters |
Specify additional connection properties for the database connection you are This field is not available if the Use an existing |
Use Batch |
Select this check box to activate the batch mode for data processing. |
Batch Size |
Specify the number of records to be processed in each batch. This field appears only when the Use batch mode |
Connection pool |
In this area, you configure, for each Spark executor, the connection pool used to control
|
Evict connections |
Select this check box to define criteria to destroy connections in the connection pool. The
|
Usage
Usage rule |
This component is used as an end component and requires an input link. This component should use a tOracleConfiguration component present in the same Job to connect to This component, along with the Spark Batch component Palette it belongs to, Note that in this documentation, unless otherwise explicitly stated, a |
Spark Connection |
In the Spark
Configuration tab in the Run view, define the connection to a given Spark cluster for the whole Job. In addition, since the Job expects its dependent jar files for execution, you must specify the directory in the file system to which these jar files are transferred so that Spark can access these files:
This connection is effective on a per-Job basis. |
Related scenarios
For a scenario about how to use the same type of component in a Spark Batch Job, see Writing and reading data from MongoDB using a Spark Batch Job.
tOracleOutput properties for Apache Spark Streaming
These properties are used to configure tOracleOutput running in the Spark Streaming Job framework.
The Spark Streaming
tOracleOutput component belongs to the Databases family.
This component can also be used to write data to a RDS Oracle database.
This component is available in Talend Real Time Big Data Platform and Talend Data Fabric.
Basic settings
Property type |
Either Built-in or Repository |
 |
Built-in: No property data stored |
 |
Repository: Select the repository |
|
Click this icon to open a database connection wizard and store the For more information about setting up and storing database connection |
Use an existing connection |
Select this check box and in the Component List click the relevant connection component to |
Connection type |
The available drivers are:
|
DB Version |
Select the Oracle version in use. |
Host |
Database server IP address. |
Port |
Listening port number of DB server. |
Database |
Name of the database. |
Username and Password |
DB user authentication data. To enter the password, click the […] button next to the |
Oracle schema |
Oracle schema name. |
Table |
Name of the table to be written. Note that only one table can be |
Action on table |
On the table defined, you can perform one of the following operations: Default: No operation is carried out.
Drop and create table: The table is
Create table: The table does not exist
Create table if not exists: The table
Drop table if exists and create: The
Clear table: The table content is
Truncate table: The table content is
Truncate table with reuse storage: The Warning:
If you select the Use an existing |
Schema and Edit |
A schema is a row description. It defines the number of fields Click Edit
|
 |
Built-In: You create and store the schema locally for this component |
 |
Repository: You have already created the schema and stored it in the When the schema to be reused has default values that are You can find more details about how to |
Die on error |
This check box is selected by default. Clear the check box to skip the |
Advanced settings
Additional JDBC parameters |
Specify additional connection properties for the database connection you are This field is not available if the Use an existing |
Use Batch |
Select this check box to activate the batch mode for data processing. |
Batch Size |
Specify the number of records to be processed in each batch. This field appears only when the Use batch mode |
Connection pool |
In this area, you configure, for each Spark executor, the connection pool used to control
|
Evict connections |
Select this check box to define criteria to destroy connections in the connection pool. The
|
Usage
Usage rule |
This component is used as an end component and requires an input link. This component should use a tOracleConfiguration component present in the same Job to connect to This component, along with the Spark Streaming component Palette it belongs to, appears Note that in this documentation, unless otherwise explicitly stated, a scenario presents |
Spark Connection |
In the Spark
Configuration tab in the Run view, define the connection to a given Spark cluster for the whole Job. In addition, since the Job expects its dependent jar files for execution, you must specify the directory in the file system to which these jar files are transferred so that Spark can access these files:
This connection is effective on a per-Job basis. |
Related scenarios
For a scenario about how to use the same type of component in a Spark Streaming Job, see
Reading and writing data in MongoDB using a Spark Streaming Job.