July 30, 2023

tSQLTemplateCommit – Docs for ESB 7.x

tSQLTemplateCommit

Commits a global action in one go using a single connection, instead of doing so
for every row or every batch of rows separately. This provides a gain in
performance.

tSQLTemplateCommit validates the data
processed in a Job in a specified database.

tSQLTemplateCommit Standard properties

These properties are used to configure tSQLTemplateCommit running in the Standard Job framework.

The Standard
tSQLTemplateCommit component belongs to the ELT family.

The component in this framework is available in all Talend
products
.

Basic settings

Database Type

Select the database type you want to connect to from the
list.

Component List

Select the ELT database connection component in the list if more
than one connection is required for the current Job.

Close Connection

Clear this check box to continue to use the selected connection
once the component has performed its task.

Advanced settings

tStatCatcher Statistics

Select this check box to gather the Job processing metadata at a
Job level as well as at each component level.

Global Variables

Global Variables

NB_LINE: the number of rows read by an input component or
transferred to an output component. 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 string.

ERROR_MESSAGE: the error message generated by the
component when an error occurs. This is an After variable and it returns a string. This
variable functions only if the Die on error check box is
cleared, if the component has this check box.

A Flow variable functions during the execution of a component while an After variable
functions after the execution of the component.

To fill up a field or expression with a variable, press Ctrl +
Space
to access the variable list and choose the variable to use from it.

For further information about variables, see
Talend Studio

User Guide.

Usage

Usage rule

This component is more commonly used with the tSQLTemplateRollback component and the
ELT database connection component.

SQL Template

SQL Template List

Related scenario

For more information on tSQLTemplateCommit, see Filtering and aggregating table columns directly on the DBMS.


Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x