Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.1 » SQL Anywhere 服务器 - 编程 » JDBC 支持 » jConnect JDBC 驱动程序

 

装载 jConnect 驱动程序

确保 jConnect 驱动程序在类文件路径中。驱动文件 jconn4.jar 位于 jConnect 安装目录的 classes 子目录中。

set classpath=.;c:\jConnect-7_0\classes\jconn4.jar;%classpath%

jConnect 驱动程序利用了新 JDBC 驱动程序自动注册。如果驱动程序在类文件路径中,在执行启动时它会被自动装载。