When you install a Java class or set of classes, it is installed in the current database. When you dump or load a database, the Java-SQL classes that are currently installed in that database are always included—even if classes of the same name exist in other databases in the Adaptive Server system.
You can install Java classes with the same name in different databases. These synonymous classes can be:
Identical classes that have been installed in different databases.
Different classes that are intended to be mutually compatible. Thus, a serialized value generated by either class is acceptable to the other.
Different classes that are intended to be “upward” compatible. That is, a serialized value generated by one of the classes should be acceptable to the other, but not vice versa.
Different classes that are intended to be mutually incompatible; for example, a class named Sheet designed for supplies of paper, and other classes named Sheet designed for supplies of linen.