93949596979899100
public ResultSet executeQuery(String sql) { try { return getStatement().executeQuery(sql); } catch (SQLException e) { throw new DaoException(e); } }
101102103104105106107108
public int executeUpdate(String sql) { try { return getStatement().executeUpdate(sql); } catch (SQLException e) { throw new DaoException(e); } }
127128129130131132133134
try { if (getAutoCommit()) { getConnection().setAutoCommit(autoCommit); } } catch (SQLException e) { throw new DaoException(e); } }
135136137138139140141142
public boolean getAutoCommit() { try { return getConnection().getAutoCommit(); } catch (SQLException e) { throw new DaoException(e); } }
143144145146147148149150
public void commit() { try { getConnection().commit(); } catch (SQLException e) { throw new DaoException(e); } }
151152153154155156157158
public void rollback() { try { getConnection().rollback(); } catch (SQLException e) { throw new DaoException(e); } }