Displays information about Java classes and associated JARs that are installed in the database.
sp_helpjava ["class"[, java_class_name[, “detail” | “depends”]] | "jar", jar_name[, “depends”]]]
sp_helpjava
sp_helpjava "class"
sp_helpjava "class", Address, detail
Class -------------------------------------------------- Address (1 row affected) Class Modifiers -------------------------------------------------- public synchronized Implemented Interfaces -------------------------------------------------- java.io.Serializable Extended Superclass -------------------------------------------------- java.lang.Object Constructors -------------------------------------------------- public Address() public Address(java.lang.String,java.lang.String) Methods -------------------------------------------------- public final native java.lang.Class java.lang.Object.getClass() public native int java.lang.Object.hashCode() public boolean java.lang.Object.equals(java.lang.Object) public java.lang.String java.lang.Object.toString() public final native void java.lang.Object.notify() public final native void java.lang.Object.notifyAll() public final native void java.lang.Object.wait(long) throws java.lang.InterruptedException public final void java.lang.Object.wait(long,int) throws java.lang.InterruptedException public final void java.lang.Object.wait() throws java.lang.InterruptedException public java.lang.String Address.display() public void Address.removeLeadingBlanks() Fields -------------------------------------- public java.lang.String Address.street public java.lang.String Address.zip
The depends parameter lists dependencies of a class or classes if the class is listed in the external name clause of a create statement for a SQLJ routine or is used as a datatype of a column in the database.
remove java in Reference Manual: Commands
See Java in Adaptive Server Enterprise for more information about Java in the database.
extractjava, installjava in the Utility Guide
Any user can execute sp_helpjava. Permission checks do not differ based on the granular permissions settings.
Values in event and extrainfo columns from the sysaudits table are:
Information | Values |
---|---|
Event | 38 |
Audit option | exec_procedure |
Command or access audited | Execution of a procedure |
Information in extrainfo |
|