1、JDBC编程六大步: 1)注册driver 1.class.forName(driver) 2.new oracle.jdbc.driver.OracleDriver(); 3.java -Djdbc.drivers=oracle.jdbc.driver.OracleDriver jdbc.drivers=System.gerProperties(); 2)获得Connection 1.conn = DriverManager.getConnection(url.userName,passwd); 2.driver.conn(url,properties); 3)获得Statement 简