神通数据库oscarJDBC.jar数据库连接驱动,找了很久,javal连接方式
public static Connection con() throws Exception {
String DRVIER = "com.oscar.Driver";
String URL = "jdbc:oscar://IP:端口/数据库名称;";
Class.forName(DRVIER);
Connection conn = DriverManager.getConnection(URL,"用户名","密码");
return conn;
}
1