Editing the database representation of the target model in the Target Model editor

Use the Target Model editor to view and edit your database representation, which is generated from your target model.

Before you begin

About this task

See the following topics to learn how to use different features in the Target Model editor:

Viewing your database representation

About this task

View your target model in a database format. You can later use IBM App Connect Enterprise to insert information into an existing database.

Procedure

  1. Click the Enable relational database mapping icon ().
    The Destination Database Platform Selection wizard opens.
  2. Complete the Destination Database, and Destination Schema fields, and select the product and version of your database. Click OK.
    Blank Table, Column, and SQL Data Type columns are displayed. The Relational mapping options icon (), at the upper right of the Target Model editor, is also in focus.
  3. To generate the default SQL table naming for your target database, click the Relational mapping options icon () and select Generate Default SQL Table Naming.

Results

The Target Model editor is populated with the details of your target model, in a database format.

Renaming tables and columns

About this task

Rename tables or columns to change the location of an element within your database representation.

Procedure

  1. Double-click the table or column cell that you want to alter.
    The cell is highlighted for editing.
  2. Type the new name of the table or column.

Results

The selected table or column is renamed.

Assigning different data types to elements

About this task

Change the SQL Data Type of elements to change the type of data the elements can hold.

Procedure

  1. Double-click the SQL Data Type cell that you want to alter.
    An ellipsis button is displayed in the cell.
  2. Click the ellipsis button to display the SQL Data Type window.
  3. Complete the fields and click OK.

Results

The SQL Data Type is changed.

Deleting cell contents

About this task

Delete the contents of cells in your database representation.

Procedure

  • To delete the contents of individual cells, complete the following steps:
    1. Double-click the cell to highlight it for editing.
    2. Press the Delete key.
  • To delete the contents of a row, but not the element name, complete the following steps:
    1. Right-click a cell in the row that you want to delete the contents of.
    2. Select Reset SQL Naming from the menu.
  • To delete the contents of all of the cells, except for the element names, complete the following steps:
    1. Click the Relational mapping options icon () at the upper-right of the target model editor.
    2. Select Reset SQL Naming from the menu.
    The contents of cells are deleted.

Highlighting elements or attributes that are in the same table

About this task

Highlight elements or attributes that are in the same table so that it is easier to view the contents of a specific table.

Procedure

  1. Right-click a cell in the table that you want to highlight.
  2. Select Show Elements or Attributes With the Same Table

Results

Elements and attributes that are from the same table are highlighted.

What to do next

Create your Data Analysis tools. See Creating Data Analysis tools.