/** 关闭连接资源、预编译对象 */ public static void close(Connection conn, PreparedStatement ps) throws Exception { close(conn, null, ps); }
/** 关闭连接资源、会话对象 */ public static void close(Connection conn, Statement state) throws Exception { close(conn, state, null); }