发布网友 发布时间:2022-08-26 16:47
共1个回答
热心网友 时间:2024-11-19 11:10
final String url = "jdbc:oracle:thin:@localhost:一5二一: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;