![]() | ![]() |
Home |
|
|
WarehouseArchitect - User's Guide |
|
| Part 3 WarehouseArchitect Model |
|
| Chapter 20: Reverse Engineering |
Some database objects can have an owner, with access restricted by a password. You can still model these objects in a WAM, although access to the data remains protected.
You can reverse engineer the following types of owner-dependent objects from a database:
| Tables |
| Triggers |
| Views |
| Synonyms |
| System tables |
| Procedures |
You can reverse engineer the following types of objects that do not have an object owner, but that are particular to the database.
| Tablespaces |
| Storages |
| User datatypes |
| Users |
These object types appear in a tree view in the ODBC Reverse Engineering dialog box. If an object type is not supported by the DBMS, it will not appear in the tree view.
However, if you want to reverse engineer objects from multiple owners, you should select All as a filter. When you select All from the Owner dropdown listbox, objects belonging to all database owners are listed in the ODBC Reverse Engineering dialog box. You can then select the objects you want to reverse engineer, regardless of their database owner.
The available filters are:
| Filter
| Description
|
|---|---|
| Qualifier
| Database-dependent table qualifier (prefix to table name)
|
| Owner
| Retrieve tables belonging to a specific user
|
You can select the reverse options for the following object types:
| Object
| Option
|
|---|---|
| Table
| Indexes Checks Physical options Primary keys Foreign keys Alternate keys
|
| View
| Reverse as table
|
If you reverse engineer database objects that already exist in a WAM, a confirmation box asks you if you want to replace the existing objects.
If you select the Automatic Archive checkbox, a dialog box appears after the reverse engineering is complete. From this dialog box, you choose a filename and path for the WAM that you want to archive.
If you select multiple items, you can use the Selected checkbox to place or remove checkmarks in front of each of the selected items. You can sort the listview items by clicking on the column heading that you want to use as the sort key.
The Reverse Engineering dialog box appears.
A dialog box asks you to identify a data source and connection parameters.
You can add a data source by clicking the Add button and selecting Setup configuration parameters.
For information on configuring a data source, see the chapter "Database Creation and Modification."
The Reverse Engineering Options dialog box appears.
For information about filters for database objects, see "Filters and options for reverse engineering".
A message window reports the progress of the generation.
The new WAM appears in the WAM window.
The Reverse Engineering dialog box appears.
or
Clear New Window if you want to merge new objects into the open WAM.
A standard file open dialog box appears.
A message box shows generation progress.
The new WAM appears in the WAM window.
| Multiple script files If you have several script files, combine all the script files into a single master file before performing reverse engineering.
|
|
|