Oracle database reverse engineering

This tutorial is aimed to show the steps of visualizing an Oracle database by forming an ERD (entity relationship diagram) in DB-VA. DB-VA supports the reverse engineering of database tables, stored procedures and triggers. Users can reverse database from small to huge scale, by constructing multiple ERD base on different contexts.
This tutorial will walk through the reversal of database tables. Since the steps for reversing stored procedures and trigger are more or less the same, readers are expected to master all the required techniques in reverse engineering of Oracle database by going through this tutorial.
Topics
1. Open Database to Data Model dialog box
2. Configure JDBC connection
3. Select database schema to be reversed
4. Construct context-based ERDs with the reversed entities

September 1, 2009
User Rating: / 2
Views: 1986
PDF Link Add comments
Edition: All (Edition comparison)
Share |

  1. To reverse database, select Tools > Object-Relational Mapping (ORM) > Reverse Database... from the main menu.
    Reverse oracle database schema
  2. The Database to Data Model dialog box appear. Un-check Reverse Stored Procedure and Reverse Trigger, since we only want to reverse tables this time. Click Next.
    Select reverse database table to model
  3. Select Oracle 9i/10g as Driver.
    Select oracle database JDBC driver
  4. Click ... to specify the JDBC driver file.
    Specify Oracle database JDBC driver file
  5. Select the Oracle JDBC driver file.
    Select oracle database JDBC library
    (PS. The JDBC driver file can be found at ${oracle_server_dir}\jdbc\lib, or downloaded from http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html)
  6. Fill in the information of the database to reverse, and click Test Connection to verify the connection. Click Next.
    Test Oracle database JDBC connection
  7. Select specific schema(s) to be reversed by first selecting Selected Schema.
    Reverse partial database schema
  8. Select schema John.
    Select databse schema for reverse to model
  9. Click Next.
  10. The tables are listed. Click Check All to reverse all the tables of the schema.
    Select all database table to reverse
  11. Click Finish to start the reverse process.
  12. A blank, new ERD is created in background, and the reversed entities are listed in the Reversed Entities dialog box.
    Tables in Oracle database is reversed
  13. Select all the entities, and drag them to the ERD.
    Drag entity models to ERD model
  14. ERD is formed with the entities.
    Add reversed entities to ERD

Download full functions 30 days FREE trial of DB Visual ARCHITECT

Windows
Linux
Mac OSX

Notes:
1. Select DB Visual ARCHITECT when installing the VP Suite.
2. Click "Try without Evaluation Key" button to get 30 minutes per session evaluation.
3. Click "Request Key" to get a 30-day evaluation key by email (Your email will only be used for sending evaluation key and follow up your evaluation. We will NEVER share your email to third party without your approval).


Oracle is U.S. registered trademark of Oracle Corporation

Comments (0)
Write comment

Name

Email

Title

Comment

Write the displayed characters

security code