Oracle8i SQL Reference Release 2 (8.1.6) A76989-01 |
|
SQL Statements (continued), 7 of 17
To force the resolution of a Java class schema object or compilation of a Java source schema object. (You cannot call the methods of a Java class before all its external references to Java names are associated with other classes.)
See Also:
Oracle8i Java Stored Procedures Developer's Guide for more information on resolving Java classes and compiling Java sources. |
The Java source or class must be in your own schema, or you must have the ALTER ANY PROCEDURE
system privilege. You must also have the EXECUTE
object privilege on Java classes.
|
compiles a Java source schema object. |
|
|
resolves a Java class schema object. |
|
object_name |
specifies a previously created Java class or source schema object. Use double quotation marks to preserve lower- or mixed-case names. |
|
|
specifies how schemas are searched for referenced fully specified Java names, using the mapping pairs specified when the Java class or source was created. See Also: "CREATE JAVA". |
|
|
are synonymous keywords. They specify that Oracle should attempt to resolve the primary Java class schema object. |
|
invoker_rights_clause |
specifies whether the methods of the class execute with the privileges and in the schema of the user who defined it or with the privileges and in the schema of This clause also determines how Oracle resolves external names in queries, DML operations, and dynamic SQL statements in the member functions and procedures of the type. See Also: Oracle8i Java Stored Procedures Developer's Guide. |
|
|
|
specifies that the methods of the class execute with the privileges of
This clause also specifies that external names in queries, DML operations, and dynamic SQL statements resolve in the schema of |
|
|
specifies that the methods of the class execute with the privileges of the user who defined it. This clause also specifies that external names resolve in the schema where the methods reside. |
The following statement forces the resolution of a Java class:
ALTER JAVA CLASS "Agent" RESOLVER (("/home/java/bin/*" scott)(* public)) RESOLVE;
|
![]() Copyright © 1999 Oracle Corporation. All Rights Reserved. |
|