SQLJ Driver Built-In Procedures

Use the SQLJ Driver built-in procedures for one of the following tasks:
  • To install, replace, or remove a set of Java™ classes
  • To specify a path for Java class resolution for Java classes that are included in a JAR file
  • To map or remove the mapping between a user-defined type and the Java type to which it corresponds
(1)
SQLJ Driver Built-In Procedures

1  %sqlj.install_JAR1
1  %sqlj.replace_JAR2
1  %sqlj.remove_JAR3
1  %sqlj.alter_java_path4
1  %sqlj.SetUDTextName5
1  %sqlj.unsetUDTextName6

A client application must specify the 'sqli' owner name to invoke these functions from an ANSI-compliant database.

The SQLJ built-in procedures are stored in the sysprocedures system catalog table. They are grouped under the sqlj schema.
Tip: For any Java static method, the first built-in procedure that you execute must be the sqlj.install_jar( ) procedure. You must install the JAR file before you can create a UDR or map a user-defined data type to a Java type. Similarly, you cannot use any of the other SQLJ built-in procedures until you have used sqlj.install_jar( ).