Jar Name: |--+-----------------------------+--jar_id----------------------| '-+-------------+--package--.-' '-database--.-'
Element | Description | Restrictions | Syntax |
---|---|---|---|
database | Database in which to install or access jar_id.
Default is the current database. |
Fully qualified database.package.jar_id identifier must not exceed 255 bytes | Database Name |
jar_id | The .jar file that contains the Java class to be accessed | File must exist in database.package | Identifier |
package | Name of the package | Package must exist in database | Identifier |
If a jar name is specified as a character string argument to the sqlj.install_jar, sqlj.replace_jar, or sqlj.remove_jar procedures, then any identifiers in the jar name that are delimited identifiers will include the surrounding double quote characters.
Before you can access a jar_id in any way (including its use in a CREATE FUNCTION or CREATE PROCEDURE statement), it must be defined in the current database with the install_jar( ) procedure. For more information, see EXECUTE PROCEDURE.
For information on how to update the three-part names of JAR files after you rename the database, see the J/Foundation Developer's Guide.