Running the Sample ApplicationThe c-treeACE SQL distribution includes a test Java application, ctreeTest.class, that exercises the JDBC interfaces implemented by the JDBC Driver. The application connects to the specified database (or creates a default connection hard coded in the application) and presents a limited interactive c-treeACE SQL interface. You can run the sample application to check the setup of the JDBC Driver in an application server environment. For example, on Windows (using the JavaSoft JDK), the following command line supplies a connection URL to run the sample program (see "Connecting to a Database" for details on specifying a URL): C:\>java ctreeTest jdbc:ctree:6597@localhost:ctreeSQL If you have a Java compiler, you can copy the sample program source code and modify it. The source file is src\jdbc\ctreeTest.java on the system where the class files were built. |
|||