sp_helpjava

Displays information about Java classes and associated JARs that are installed in the database.

Syntax

 sp_helpjava ["class"[, java_class_name[, “detail” | “depends”]] | 
	"jar", jar_name[, “depends”]]]

Parameters

Examples

Usage

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.

See also:
  • 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

Permissions

Any user can execute sp_helpjava. Permission checks do not differ based on the granular permissions settings.

Auditing

Values in event and extrainfo columns from the sysaudits table are:

InformationValues
Event

38

Audit option

exec_procedure

Command or access audited

Execution of a procedure

Information in extrainfo
  • Roles – Current active roles

  • Keywords or options – NULL

  • Previous value – NULL

  • Current value – NULL

  • Other information – All input parameters

  • Proxy information – Original login name, if set proxy in effect