Oracle Packages

How To:

To create an Oracle package, follow the steps below:

Step

Action

See Also

1

Add a Class element to your data model.

 

2

Open the Properties dialog for the element and, in the Stereotype field, type the value Package.

 

3

For the package specification, create an Operation with the name Specification and with no return type.

 

4

Open the Properties dialog for the Specification Operation and, on the Behavior tab, type the entire package specification into the Initial Code field.

 

5

For the package body, create an Operation with the name Body and with no return type.

 

6

Open the Properties dialog for the Body Operation and, on the Behavior tab, type the entire package body into the Initial Code field.

 

Learn more