摘要: jdbc的批处理方法1、加载驱动Class.forName("com.mysql.jdbc.Driver"); 2、创建连接conn=DriverManager.getConnection("jdbc:mysql://localhost:3306/baybhhcsy","root","root"); 3、写sql语句 sql="insertintouser(email,passwd)values(... 阅读全文
posted @ 2013-03-27 23:37 thero 阅读(403) 评论(0) 推荐(0)