August 15, 2023

Retrieving the inserted employee data from MySQL – Docs for ESB 6.x

Retrieving the inserted employee data from MySQL

Configure the first tMysqlInput component and the first tLogRow component to retrieve the inserted employee data from the MySQL SCD
table and display it on the console.

  1. Double-click the tMysqlInput component
    to open its Basic settings view.

    mysql_scd_tmysqlinput_basic.png

  2. Select the Use an existing connection
    check box and from the Component List drop-down
    list displayed, select the connection component you have configured.
  3. In the Table Name field, enter the
    name of the table from which the employee data will be retrieved. In this example,
    it is employee_scd.
  4. Open the schema editor of the tMysqlSCD component, select and copy all its schema columns, then
    open the schema editor of the tMysqlInput
    component, define its schema by pasting those schema columns you have copied from
    the tMysqlSCD component.

    mysql_scd_tmysqlinput_schema.png

    When done, click OK to save the changes. In the
    pop-up dialog box, click Yes to propagate the
    schema to the next component.
  5. Click the Guess Query button to fill
    the Query field with the automatically generated
    SQL query that will extract data of all columns from the specified table.
  6. Double-click the first tLogRow
    component to open its Basic settings view. In the
    Mode area, select Table
    (print values in cells of a table)
    for better readability of the
    result displayed on the console.

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