Adaptive Server Anywhere version 6.0 and Adaptive Server version 12.0 and later allow you to specify Java classes as:
Datatypes of SQL columns
Datatypes of Transact-SQL variables
Default values for SQL columns
In earlier versions, only classes that appeared in jConnect’s CLASSPATH were accessible; that is, if a jConnect application attempted to access an instance of a class that was not in the local CLASSPATH, a java.lang.ClassNotFound exception would result.
jConnect version 5.x and later implements DynamicClassLoader (DCL) to load a class directly from an Adaptive Server Anywhere or Adaptive Server server and use it as if it was present in the local CLASSPATH.
All security features present in the superclass are inherited. The loader delegation model implemented in Java 2 is followed—first jConnect attempts to load a requested class from the CLASSPATH; if that fails, jConnect tries the DynamicClassLoader.
See Java in Adaptive Server for more detailed information about use Java and Adaptive Server.
Copyright © 2003. Sybase Inc. All rights reserved. |
![]() |