摘要: 第一步:加载数据库驱动 Class.forName(); 2:建立连接,获得connection对象 3:执行sql语句 例子: //数据库对应个类 Master master =null; //三大对象 Connection conn = null; PreparedStatement pstmt 阅读全文