How to connect DB in Java
//Note that import jar package for the driver 1、Oracle8/8i/9iClass.forName("oracle.jdbc.driver.OracleDriver").newInstance(); String url="jdbc:oracle:thin:@localhost:1521:orcl"; //orcl is the
转载
2009-11-05 23:34:00 ·
540 阅读 ·
0 评论