Configuring the components for using the Implicit Context Load feature
Procedure
Then double-click to open the tMysqlInput
component Basic settings view.
Fill the Host, Port, Database,
Username, Password, and Table Name fields
with the relevant variables defined in the Contexts tab view: context.host,
context.port, context.database,
context.username, and
context.password respectively in this example.
Fill the Table Name field with
employees, which is the name of the table holding employees
information in both databases in our example.
Then fill in the Schema information.
If you stored the schema in the Repository, then
you can retrieve it by selecting Repository and
the relevant entry in the list.
In this example, the schema of both the database tables to read is made of six
columns: id (INT, 2 characters long),
name (VARCHAR, 20 characters long),
email (VARCHAR, 25 characters long),
sex (VARCHAR, 1 characters long),
department (VARCHAR, 10 characters long), and
position (VARCHAR, 10 characters long).
Click Guess Query to retrieve all
the table columns, which will be displayed on the Run tab, through the tLogRow component.
In the Basic settings view of the
tLogRow component, select the Table option to display data records in the form of a table.
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!