Component family |
Databases/JavaDB |
|
Function |
tJavaDBInput reads a database and |
|
Purpose |
tJavaDBInput executes a DB query |
|
Basic settings |
Property type |
Either Built-in or Since version 5.6, both the Built-In mode and the Repository mode are |
|
|
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 |
|
|
Framework |
Select your Java database framework on the list |
|
Database |
Name of the database |
|
DB root path |
Browse to your database root. |
|
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 to be processed and passed on Since version 5.6, both the Built-In mode and the Repository mode are This component offers the advantage of the dynamic schema feature. This allows you to This dynamic schema feature is designed for the purpose of retrieving unknown columns |
|
|
Built-in: The schema is created |
|
|
Repository: The schema already |
Click Edit schema to make changes to the schema. If the
|
||
|
Query type and Query |
Enter your DB query paying particularly attention to properly Warning
If using the dynamic schema feature, |
Advanced settings |
Trim all the String/Char columns |
Select this check box to remove leading and trailing whitespace |
|
Trim column |
Remove leading and trailing whitespace from defined |
|
tStatCatcher Statistics |
Select this check box to collect log data at the component |
Global Variables |
NB_LINE: the number of rows processed. This is an After
QUERY: the SQL query statement being processed. This is a 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 Talend Studio |
|
Usage |
This component covers all possible SQL database queries. |
|
Log4j |
The activity of this component can be logged using the log4j feature. For more information on this feature, see Talend Studio User For more information on the log4j logging levels, see the Apache documentation at http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Level.html. |
|
Limitation |
Due to license incompatibility, one or more JARs required to use this component are not |
For related topics, see the tDBInput
and tMysqlInput
scenarios:
See also the related topic in tContextLoad: Scenario: Reading data from different MySQL databases using dynamically loaded connection
parameters.