tJDBCRow
Acts on the actual DB structure or on the data (although without handling data)
using the SQLBuilder tool to write easily your SQL statements.
tJDBCRow is the component for any type database using a
JDBC API. 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.
tJDBCRow Standard properties
These properties are used to configure tJDBCRow running in the Standard Job framework.
The Standard
tJDBCRow 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 |
Select the way the connection details
This property is not available when other connection component is selected |
Connection Component |
Select the component that opens the database connection to be reused by this |
JDBC URL |
The JDBC URL of the database to be used. For |
Drivers |
Complete this table to load the driver JARs needed. To do For more information, see Importing a database driver. |
Driver Class |
Enter the class name for the specified driver between double |
Use Id and Password |
The database user authentication data. To enter the password, click the […] button next to the |
Schema and Edit schema |
A schema is a row description. It defines the number of fields
Click Edit
schema to make changes to the schema. Note: If you
make changes, the schema automatically becomes built-in.
|
Table Name |
The name of the table to be processed. |
Query Type and Query |
Specify the database query statement paying particularly attention to the
|
Guess Query |
Click this button to generate query in the Query field based on |
Specify a data source alias |
Select this check box and in the If you use the component’s own DB configuration, your data source This property is not available when other connection component is selected from |
Die on error |
Select the check box to stop the execution of the Job when an error Clear the check box to skip any rows on error and complete the When errors are skipped, you can collect the rows on error |
Advanced settings
Propagate QUERY’s recordset |
Select this check box to propagate the result of the query to the output flow. From the This option allows the component to have a different schema from that of the preceding |
Use PreparedStatement |
Select this check box if you want to query the database using a prepared statement. In
For a related use case of this property, see Using PreparedStatement objects to query data. |
Commit every |
Specify the number of rows to be processed before committing This option ensures transaction quality (but not rollback) and, above all, better |
tStatCatcher Statistics |
Select this check box to gather the Job processing metadata at the Job level |
Global Variables
ERROR_MESSAGE |
The error message generated by the component when an error occurs. This is an After |
QUERY |
The query statement being processed. This is a Flow variable and it returns a |
Usage
Usage rule |
This component offers the flexibility of the DB query for any |
Dynamic settings |
Click the [+] button to add a row in the table 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 |
Related scenarios
For related topics, see: