Using the jConnect JDBC driver

SQL Anywhere supports one version of jConnect: jConnect 6.0.5. The jConnect driver is available as a separate download from
jConnect for JDBC. Documentation for jConnect can also be found on the same page.

If you want to use JDBC from an applet, you must use the jConnect JDBC driver to connect to SQL Anywhere databases.

The jConnect driver files

SQL Anywhere supports the following version of jConnect:

jConnect 6.0.5 This version of jConnect is for developing JDK 1.4 or later applications. jConnect 6.0.5 is JDBC 3.0 compliant. jConnect 6.0.5
is supplied as a JAR file named jconn3.jar.

Note

For the purposes of this documentation, all of the explanations and code samples provided assume that you are developing JDK
1.5 applications, and that you are using the jConnect 6.0.5 driver.

There is a copy of jconn3.jar in the install-dir\java folder. However, we recommend that you use the version of the file included with jConnect 6.0.5 since it will be current
with the version of jConnect that you have installed.

Setting the class path for jConnect

For your application to use jConnect, the jConnect classes must be in your class path at compile time and run time, so that
the Java compiler and Java runtime can locate the necessary files.