tOracleRow
Executes the stated SQL query on the specified Oracle database.
Depending on the nature of the query and the database, tOracleRow acts on the actual DB structure or on the data (although
without handling data). The SQLBuilder tool helps you write easily your SQL
statements.
tOracleRow is the specific component for this
database query. It executes the SQL query stated onto the specified database. The row
suffix means the component implements a flow in the job design although it doesn’t
provide output.
tOracleRow Standard properties
These properties are used to configure tOracleRow running in the Standard Job framework.
The Standard
tOracleRow 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 |
 |
Built-in: No property data stored |
 |
Repository: Select the repository |
Use an existing connection |
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 connection
Oracle Service Name: Select this
Oracle SID: Select this connection
Oracle Custom: 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 |
DB user authentication data. To enter the password, click the […] button next to the |
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 |
Query type |
Either Built-in or Repository. |
 |
Built-in: Fill in manually the |
 |
Repository: Select the relevant |
Query |
Enter your DB query paying particularly attention to properly |
Use NB_LINE_ |
This option allows you feed the variable with the number of rows
inserted/updated/deleted to the next component or subJob. This field only applies if the query entered in Query field is a INSERT, UPDATE or DELETE query.
|
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 |
Die on error |
This check box is selected by default. Clear the check box to skip |
Advanced settings
Propagate QUERY’s recordset |
Select this check box to insert the result of the query into a Note:
This option allows the component to have a different schema |
Use PreparedStatement |
Select this check box if you want to query the database using a
Parameter Index: Enter the
Parameter Type: Enter the parameter
Parameter Value: Enter the Note:
This option is very useful if you need to execute the same |
Commit every |
Number of rows to be completed before committing batches of rows |
tStatCatcher Statistics |
Select this check box to collect log data at the component |
Global Variables
Global Variables |
QUERY: the query statement being processed. This is a Flow
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
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 |
Usage
Usage rule |
This component offers the flexibility of the DB query and covers |
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 |