tHSQLDbOutput
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.
tHSQLDbOutput writes, updates,
makes changes or suppresses entries in a database.
tHSQLDbOutput Standard properties
These properties are used to configure tHSQLDbOutput running in the Standard Job framework.
The Standard
tHSQLDbOutput component belongs to the Databases family.
The component in this framework is available in all Talend
products.
Basic settings
Property type |
Either Built-in or |
 |
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 |
Running Mode |
Select on the list the Server Mode corresponding to your DB HSQLDb Server, HSQLDb WebServer, HSQLDb In Process Persistent, HSQLDb In Memory. |
Use TLS/SSL sockets |
Select this check box to enable the secured mode if |
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 |
DB path |
Specify the directory to the database you want to connect to. This Note:
By default, if the database you specify in this field does not |
Db name |
Enter the database name that you want to connect to. This field is |
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
None: No operation is carried
Drop and create a table: The table
Create a table: The table does not
Create a table if not exists: The
Drop a table if exists and create:
Clear a table: The table content is |
Action on data |
On the data of the table defined, you can perform:
Insert: Add new entries to the
Update: Make changes to existing 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 |
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 |
Advanced settings
Additional JDBC parameters |
Specify additional connection properties for the DB connection you Note:
You can press Ctrl+Space to |
Commit every |
Enter the number of rows to be completed before committing batches |
Additional Columns |
This option is not offered if you create (with or without drop) |
 |
Name: Type in the name of the |
 |
SQL expression: Type in the SQL |
 |
Position: Select Before, Replace or After |
 |
Reference column: Type in a |
Use field options |
Select this check box to customize a request, especially when |
Debug query mode |
Select this check box to display each step during processing entries |
tStat |
Select this check box to collect log data at the component |
Enable parallel execution |
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 of the DB query and This component must be used as an output component. It allows you |
Connections |
Outgoing links (from this component to another): Row: Main; Reject
Trigger: Run if; On Component Ok; Incoming links (from one component to this one): Row: Main;
Trigger: Run if; On Component Ok; For further information regarding connections, see |
Limitation |
Due to license incompatibility, one or more JARs required to use |
Related scenarios
For related topics, see