用modelsim时报错,请大神指点,(主要看一下模块调用和参数配置的语法有问题吗?)

2024-11-29 20:18:22
推荐回答(1个)
回答1:

final String url = "jdbc:oracle:thin:@localhost:1521:ORCL";
final String user = "store";
final String password = "store_password";
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection con = DriverManager.getConnection(url, user, password);
return con;
}