last.close(); if (!con.getAutoCommit()) throw (SQLException)sqlException.fillInStackTrace(); ConnectionHandler handler = new ConnectionHandler(con); last = handler; last.setProxy(proxyCon); return proxyCon;
last.close(); if (!con.getAutoCommit()) throw (SQLException)sqlException.fillInStackTrace(); ConnectionHandler handler = new ConnectionHandler(con); last = handler; last.setProxy(proxyCon); return proxyCon;
last.close(); if (!con.getAutoCommit()) throw (SQLException)sqlException.fillInStackTrace(); ConnectionHandler handler = new ConnectionHandler(con); last = handler; last.setProxy(proxyCon); return proxyCon;
/** * Closes the physical database connection represented by this * PooledConnection. If any client has a connection based on * this PooledConnection, it is forcibly closed as well. */ public void close() throws SQLException { if (last != null) { last.close(); if (!con.getAutoCommit()) { try { con.rollback(); } catch (SQLException e) { } } } try { con.close(); } finally { con = null; } }
/** * Closes the physical database connection represented by this * PooledConnection. If any client has a connection based on * this PooledConnection, it is forcibly closed as well. */ public void close() throws SQLException { if (last != null) { last.close(); if (!con.getAutoCommit()) { try { con.rollback(); } catch (SQLException e) { } } } try { con.close(); } finally { con = null; } }
/** * Closes the physical database connection represented by this * PooledConnection. If any client has a connection based on * this PooledConnection, it is forcibly closed as well. */ public void close() throws SQLException { if (last != null) { last.close(); if (!con.getAutoCommit()) { try { con.rollback(); } catch (SQLException e) { } } } try { con.close(); } finally { con = null; } }