Using metadata to read a database and displaying the results - 7.3

Creating and using metadata in Talend Studio

Version
7.3
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Design and Development > Designing Jobs
Last publication date
2024-02-06

You can read and manage databases in Talend Studio, allowing you to integrate them into your data management workflows.

Before you begin

  • This tutorial makes use of a database. If you do not have a database, click the Downloads tab and save customers_unordered.sql. You must import the database into a compatible program.

  • You must have created a metadata definition from a database (see Creating a metadata definition from a database).

Procedure

  1. In the Repository, expand Metadata > Db Connections.
  2. Drag-and-drop a database metadata on the Designer.
    1. Select a tDBInput component.
      The component inherits the database schema.
  3. In the Designer, add a tLogRow component.
  4. Right-click the tDBInput component.
    1. Select Row > Main.
    2. Click on the tLogRow component to link the two.
  5. Optional: In the tLogRow component, select the Table Mode.
  6. In the Run view, click Run.

Results

The tDBInput component, configured through metadata, reads your database, and the tLogRow component displays its content on the console.