This section describes how to prepare for the examples in the remainder of this appendix.
The code fragments in this section are taken from the complete class samples\asa\java\JDBCExamples.java, included in the javadirectory under your installation directory.
Installing 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\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 double-click Add Java Class or JAR. Then follow the instructions in the wizard.