摘要: 今天在项目中看到一段代码,Connection conn = null; ResultSet rs = null; PreparedStatement pss = null; try { conn = dataSource.getConnection(USERID,PASSWORD); pss = conn.prepareStatement(sql); rs = pss.executeQuery(); pss.close(); conn.close(); } catch (Throwable t) { // If i reach this spot, I blew a... 阅读全文
posted @ 2014-03-27 14:44 泥鳅桑 阅读(1042) 评论(0) 推荐(0) 编辑