Removing classes and JARs

Use the Transact-SQL remove java statement to uninstall one or more Java-SQL classes from the database. remove java can specify one or more Java class names, Java package names, or retained JAR names. For example, to uninstall the package utilityClasses, from isql enter:

remove java package "utilityClasses"

NoteAdaptive Server does not let you remove classes that are used as datatypes for columns and parameters or that are referenced by SQLJ functions or stored procedures. Other classes cannot be checked for usage and may be removed while still referenced in stored procedures. Make sure that you do not remove subclasses or classes that are used as variables or UDF return types.

remove java package deletes all classes in the specified package and all of its sub-packages.

See the Reference Manual for more information about remove java.