| Oracle8i
Java Stored Procedures Developer's Guide Release 8.1.5 A64686-01 |
|
Next, you use the command-line utility loadjava to upload your Java stored procedures into the Oracle RDBMS, as follows:
> loadjava -u scott/tiger@myPC:1521:orcl -v -r -t POManager.java initialization complete loading : POManager creating : POManager resolver : resolver ( ("*" scott) ("*" public) ("*" -)) resolving: POManager
Recall that option -v enables verbose mode, that option -r compiles uploaded Java source files and resolves external references in the classes, and that option -t tells loadjava to connect to the database using the thin JDBC driver.