tJDBCInput Standard properties
These properties are used to configure tJDBCInput running in
the Standard Job framework.
The Standard
tJDBCInput 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 |
Click this icon to open a database connection wizard and store the For more information about setting up and storing database |
|
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.
This This |
Table Name |
The name of the table from which data will be retrieved. |
Query Type and Query |
Specify the database query statement paying particularly attention to the
If using the dynamic schema feature, the SELECT query must |
Guess Query |
Click this button to generate query in the Query field based on |
Guess Schema |
Click this button to generate schema columns based on the query defined in the |
Specify a data source alias |
Select this check box and in the This property is not available when other connection component is selected from |
Advanced settings
Use cursor |
Select this check box to specify the number of rows you want to work with at |
Trim all the String/Char columns |
Select this check box to remove leading whitespace and trailing |
Check column to trim |
Select the check box for corresponding column to remove leading whitespace This property is not available when the Trim all the String/Char |
Enable Mapping File for |
Select this check box to use the specified metadata With this check box selected, you can specify the metadata mapping file For more information about metadata mapping files, see |
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. |
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 |
NB_LINE |
The number of rows processed. This is an After variable and it returns an integer. |
QUERY |
The query statement being processed. This is a Flow variable and it returns a |
Usage
Usage rule |
This component covers all possible SQL queries 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 |