Reverse engineering physical data from a database
To map live database schemas to a new model, you need to place them in your data design project. To increase the speed of this process, you can use filters on your remote schemas and remote tables, as follows.
- In the Database Explorer, right-click on the Remote Schemas folder under the SANTA_CLARA_COUNTY server and select Filter to open a Filter window.
- Uncheck Disable filter, and specify Selection to include the Oracle schema in which you have created your Oracle tables. In this case it is J15USER1, as shown in Figure 17.
- Select Finish.
Figure 17. Filtering remote Oracle schemas
After you filter the remote schema, use the same steps on the Remote Tables folder to filter the seven tables that you created for SANTA_CLARA_COUNTY database in Prerequisites. These tables are BOOK, BOOK_AUTHORS, BOOK_COPIES, BOOK_LOANS, BORROWER, BRANCH, and PUBLISHER, as shown in Figure 18.
Figure 18. Filtering remote Oracle tables
Repeat the same steps for remote tables and remote schemas under the LIBRARY server. Filter on remote schema SCHOOL and remote tables BOOK, BOOK_AUTHORS, and LOCATION.
Drag both LIBRARY and SANTA_CLARA_COUNTY servers from the Defined Remote Servers folder in the Database Explorer to the New Library System Data Design Project in the Data Project Explorer.
You will notice that three new files with a .dbm extension are added to the Design Project: FEDERATE.dbm, LIBRARY.dbm, and SANTA_CLARA_COUNTY.dbm.
If you expand LIBRARY.dbm and SANTA_CLARA_COUNTY.dbm, you will see the tables that you created during Prerequisites. These tables are now model objects that were extracted from reverse engineering the two physical databases, as shown in Figure 19.
Figure 19. Models extracted from reverse engineering physical databases



