
Copyright © 2001, 2015, Oracle and/or its affiliates. All rights reserved.
Process Flow
APIs for Compiling pkg_user_exit
UserExitCompiler Class
The UserExitCompiler should be able to load pkg_user_exit package from database and compile it to
the database. Additionally, it can perform backup and recovery of the package. The backup and
recovery allows you to restore the package to previously functional state when the edited package
compilation is failed or the user decides to discard the altered package. To avoid security related
issues, this class can only modify pkg_user_exit package, which is only restricted to package body.
Furthermore, only the user DBA.ADMIN is allowed to edit the package. In the class, the following
public methods will be included. The return of the methods is either status of the action or error
messages when the database action is failed.
public String get ()- Load the package from database.
public String getBackup ()- Load backup copy from database.
public String Backup ().
public String Restore ().
public String put (String packageString) - compile the package into database .
Comentarios a estos manuales