Adaptive Server is a runtime environment for Java classes, not a Java development environment.
You cannot carry out these tasks in the database:
Edit class source files (*.java files).
Compile Java class source files (*.java files).
Execute Java APIs that are not supported, such as applet and visual classes.
Use Java threading. Adaptive Server does not support java.lang.Thread and java.lang.ThreadGroup. If you attempt to spawn a thread, Adaptive Server throws java.lang.UnsupportedOperationException.
Use Java objects as parameters sent to a remote procedure call or received from a remote procedure call. They do not translate correctly.
Sybase recommends that you do not use static variables in methods referenced by Java-SQL functions, SQLJ functions, or SQLJ stored procedures. The values returned for these variables may be unreliable as the scope of the static variable is implementation-dependent.