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

SQL Anywhere 12.0.0 (中文) » SQL Anywhere 服务器 - 编程 » JDBC 支持 » 使用 SQL Anywhere JDBC 驱动程序

 

装载 SQL Anywhere JDBC 4.0 驱动程序

确保 SQL Anywhere JDBC 4.0 驱动程序在类文件路径下。

set classpath=install-dir\java\sajdbc4.jar;%classpath%

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

 所需文件