To reference a Java-SQL class or package, use the following syntax:
java_sql_class_name ::= [java_sql_package_name.]java_sql_identifier
java_sql_package_name ::= [java_sql_package_name.]java_sql_identifier
The fully qualified name of a Java-SQL class in the current database.
The fully qualified name of a Java-SQL package in the current database.
See Java-SQL identifiers.
For Java-SQL class names:
A class name reference always refers to a class in the current database.
If you specify a Java-SQL class name without referencing the package name, only one Java-SQL class of that name must exist in the current database, and its package must be the default (anonymous) package.
If a SQL user-defined datatype and a Java-SQL class possess the same sequence of identifiers, Adaptive Server uses the SQL user-defined datatype name and ignores the Java-SQL class name
For Java-SQL package names:
If you specify a Java-SQL subpackage name, you must reference the subpackage name with its package name:
java_sql_package_name.java_sql_subpackage_name
Use Java-SQL package names only as qualifiers for class names or subpackage names and to delete packages from the database using the remove java command.