EasyManuals Logo

IBM DB2 User Manual

IBM DB2
585 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #189 background imageLoading...
Page #189 background image
the plan or package. If the statement is dynamically prepared, the privilege set is
the privileges that are held by the authorization IDs of the process.
For calling SQLJ.REMOVE_JAR, the privilege set must include at least one of the
following items:
v The EXECUTE privilege on SQLJ.REMOVE_JAR
v Ownership of SQLJ.REMOVE_JAR
v SYSADM authority
The privilege set must also include the authority to remove a JAR, which consists
of at least one of the following items:
v Ownership of the JAR
v The DROPIN privilege on the schema of the JAR
The authorization ID that matches the schema name implicitly has the DROPIN
privilege on the schema.
v SYSADM or SYSCTRL authority
SQLJ.REMOVE_JAR syntax
 CALL SQLJ.REMOVE_JAR ( JAR-name, undeploy ) 
SQLJ.REMOVE_JAR parameters
JAR-name
A VARCHAR(257) input parameter that contains the DB2 name of the JAR that
is to be removed from the catalog, in the form schema.JAR-id or JAR-id. This is
the name that you use when you refer to the JAR in SQL statements. If you
omit schema, DB2 uses the SQL authorization ID that is in the CURRENT
SCHEMA special register.
undeploy
An INTEGER input parameter that indicates whether additional actions should
be performed before the JAR file is removed. Additional actions are not
supported, so this value should always be 0.
SQLJ.ALTER_JAVA_PATH stored procedure
SQLJ.ALTER_JAVA_PATH modifies the class resolution path of an installed JAR.
SQLJ.ALTER_JAVA_PATH authorization
Privilege set: If the CALL statement is embedded in an application program, the
privilege set is the privileges that are held by the authorization ID of the owner of
the plan or package. If the statement is dynamically prepared, the privilege set is
the privileges that are held by the authorization IDs of the process.
For calling SQLJ.ALTER_JAVA_PATH, the privilege set must include at least one of
the following items:
v The EXECUTE privilege on SQLJ.ALTER_JAVA_PATH
v Ownership of SQLJ.ALTER_JAVA_PATH
v SYSADM authority
The privilege set must also include the authority to alter a JAR, which consists of
at least one of the following items:
Chapter 5. Java stored procedures and user-defined functions 173
|
|
|
|
|
|
|
|

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM DB2 and is the answer not in the manual?

IBM DB2 Specifications

General IconGeneral
DeveloperIBM
Initial Release1983
LicenseProprietary
Written inC, C++
CategoryDatabase Management System (RDBMS)
Operating SystemLinux, Windows
Programming LanguagesC, C++
Data ModelsRelational
EditionsCommunity, Standard, Advanced
Key Featureshigh availability, scalability