oracle 10g jdbc驱动程序,运用在java连接oracle 10g。
连接字符串为:
Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
String url="jdbc:oracle:thin:@localip:1521:orcl"; //orcl为数据库的SID
String user="userNm";
String password="***";
Connection conn= DriverManager.getConnection(url,user,password);