EMP-DEPT

This is an implementation of the familiar EMP-DEPT database using the Object Oriented features of Oracle 9i.

Problem Definition

The basic problem has three tables: This Rose Model represents the basic EMP-DEPT model. Some additions to the original problem have been made to make things more interesting.

Technical description

A complication here is the need to order the declarations to ensure that each type, and table is defined before it is referenced. The reverse problem occurs when the system is deleted: tables and types cannot be removed if they are still being used.

So we have to split up the declaration of a type from the implementation (body) of the type. The order of presentation here is the order in which the parts need to be declared. In a realistic system, we would have to use a code management system which would know about these dependencies and would execute the updates to the schema in the correct order.

Extensions to the Basic Model

Work to do

You may like to use Rational Rose here to model the changes in the system as you make them.

Work for me to do