摘要: 一、得到mysql的连接 这里封装成一个方法,方便后面使用。 public Connection getConnection() throws Exception{ String url = "jdbc:mysql://localhost:3306/dbfortest"; String user = 阅读全文
posted @ 2016-08-28 18:57 jway0101 阅读(19388) 评论(0) 推荐(0) 编辑