************************************************************************
****原文:blog.csdn.net/clark_xu 徐长亮的专栏
************************************************************************
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
//import java.sql.Statement;
import java.sql.PreparedStatement;
public class lx02{
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
//import java.sql.Statement;
import java.sql.PreparedStatement;
public class lx02{
public static void main(String[] args) throws SQLException, ClassNotFoundException{
// 加载驱动
Class.forName("oracle.jdbc.driver.OracleDriver");
java.sql.DriverManager.register