ASA Programming Guide
JDBC Programming
Using JDBC to access data
This section describes how to prepare for the examples in the remainder of the chapter.
The code fragments in this section are taken from the complete class Samples\ASA\Java\JDBCExamples.java.
To install the JDBCExamples class
If you have not already done so, install the JDBCExamples.class file into the sample database. Once connected to the sample database from Interactive SQL, enter the following command in the SQL Statements pane:
INSTALL JAVA NEW FROM FILE 'path\Samples\ASA\Java\JDBCExamples.class'
where path is the path to your installation directory.
You can also install the class using Sybase Central. While connected to the sample database, open the Java Objects folder and choose File