Table of Contents

Search

  1. Preface
  2. Introduction to PowerExchange for JDBC V2
  3. PowerExchange for JDBC V2 Configuration Overview
  4. JDBC V2 Connections
  5. PowerExchange for JDBC V2 Data Objects
  6. JDBC V2 Mappings
  7. PowerExchange for JDBC V2 Dynamic Mappings
  8. JDBC V2 Lookup
  9. JDBC V2 Run-Time Processing
  10. JDBC V2 Datatype Reference

PowerExchange for JDBC V2 User Guide

PowerExchange for JDBC V2 User Guide

JDBC V2 Dynamic Mapping Example

JDBC V2 Dynamic Mapping Example

Your organization has a large amount of data that keeps changing. Your organization needs to incorporate all the updated data in a short span of time. Create a dynamic mapping, where you can refresh the source schema dynamically to fetch the updated data. Add all the dynamic ports to the target to override the metadata of the existing ports.
  1. Import the JDBC V2 read and write data objects.
  2. Select a project or folder in the
    Object Explorer
    view.
  3. Click
    File
    New
    Mapping
    .
    The
    Mapping
    dialog box appears.
  4. Enter the name of the mapping in the
    Name
    field.
  5. Click
    Finish
    .
  6. Drag the data object into a mapping.
    The
    JDBC V2 Data Object Access
    dialog box appears.
  7. Select the
    Read
    option and click
    OK
    .
  8. In the
    Data Object
    tab, select the
    At runtime, get data object columns from the data source
    check box.
    The following image shows the
    Data Object
    tab:
    In the image, the 
					 At runtime, get data object columns from the data source check box is selected.
  9. Drag the data object into a mapping.
    The
    JDBC V2 Data Object Acess
    dialog box appears.
  10. Select the
    Write
    option and click
    OK
    .
  11. In the
    Ports
    tab, select the value of the
    Columns defined by
    as
    Mapping Flow
    .
    The following image shows the
    Ports
    tab:
    Select mapping flow to enable upstream mapping objects to update the incoming ports for the Write transformation.
  12. Select all the source incoming ports and add the ports to the target.
  13. Save and run the mapping.

0 COMMENTS

We’d like to hear from you!