]project-open[ : @This Wiki
Portrait

Welcome, Unregistered Visitor

 · · · Index · Login/Register

Contents





5 registered users
 in last 24 hours

PL/SQL Destructor

A "destructor" is a PL/SQL routine  to delete a ]po[ object. As a convention, destructor names consist of the object_type, followed by "__delete" (double underscore), even though there are some older functions not adhering to this convention.

 

Let's look take a typical example (deleting a project):

 

­ 

select im_project__delete(:project_id)

­

The only required parameter is the ID of an existing project.

The destructor will delete the project, and all of its super-classes including acs_object and im_biz_object

However, it is possible that the destructor will fail, for example if certain database tables reference the project as part of a referential integrity constraint. In this case please remove the dependency manually (or as part of you deletion script) and try again. The destructor is "atomic", which means that the destructor transaction will be rolled back completely in case of an error.


Please take a moment to complete this form to help us improve our service.

Did this page help you to achieve your goal?

 Yes  No  Don't know

Please provide us with comments to improve this page:

How useful is the information?

 1  2  3  4  5
Not
useful
      Extremely
useful
 
Privacy Policy