Importing a Java Class into PL/SQL
Follow these steps to import one or more Java class files:
To import Java classes into PL/SQL:
- Ensure that the classes you want to import are located on your CLASSPATH.
- In Forms Builder, open the module (Form module, PL/SQL library, or Menu
module) where you want to place the generated PL/SQL packages.
- Choose Program | Import Java Classes... from
the menu to display the Import Java Classes dialog box. About
- In the Select Java Classes area, select one
or more Java class files.
Note:
- You cannot select a package, only a specific class.
- If you do not see the Java class file you want to import,
make sure the class file is located in the current CLASSPATH.
- If you edit the CLASSPATH
during a Form Builder session, you must restart the builder so the Java
Importer can pick up the CLASSPATH
changes.
- Click Options... to open the Import Java Classes
Options dialog to specify import options.
- Click Import in the Import Java Classes dialog
to start the import process.
- When the import process is complete, click OK
to dismiss the dialog.
Related topics
Understanding the Generated PL/SQL
Programming with Generated PL/SQL Code