New Features and Upgrading Guide
CHAPTER 3. New Features in Adaptive Server Anywhere 6.0
Adaptive Server Anywhere provides a runtime environment for Java in the database, and allows you to use Java classes as SQL data types.
The runtime environment for Java consists of the following:
A Java virtual machine running inside the database server The virtual machine (VM) executes Java classes installed into a database. Not all Java classes are supported.
Built-in Java classes A base set of Java classes is supplied to provide basic Java functionality.
You can install your own Java classes into a database. Public static methods of Java classes become available as stored procedures and user-defined functions.
You can use Java classes as SQL user-defined data types:
Store Java objects in database tables By using a Java class as a data type for a column in a table, you can store data in your database in the form of Java objects.
Access Java from SQL You can access the methods and fields of Java objects in SQL statements.
You can use JDBC methods in your Java classes to access SQL data. Java classes with JDBC provide a more powerful language than SQL stored procedures for building logic into the database.
Adaptive Server Anywhere supports JDBC as an interface from client applications using the Sybase jConnect JDBC driver. JDBC in the server uses is a separate feature.
You can debug Java code running in the server from the Java debugger.
The Java features are documented in the following places: