时间:2021-07-01 10:21:17 帮助过:13人阅读
oracle:
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection c = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:databasename", user, password);
Statement statamentMySQL =connectMySQL.createStatement();
ResultSet resultSel = statement.executeQuery( "select * from staff" );
mysql和oracle的驱动方式
标签:oca cut man mysq manager data state sel ack