摘要:
很想自己写模拟hibernate的封装,本人又是一个新手,能力有限,参考了网上资料,加上自己点修改。方便自己的偷懒@!@--连接View Code public Connection getConn() throws SQLException { MysqlDataSource ds = new MysqlDataSource(); ds.setUrl("jdbc:mysql://localhost:3306/test?user=root&password=1"); return (Connection) ds.getConnection(); ... 阅读全文
posted @ 2013-05-01 18:38
肥仔-酷(code)
阅读(156)
评论(0)
推荐(0)

浙公网安备 33010602011771号