private void removeUndoableBlocksWhereHeightIsLessThan(int height) throws BlockStoreException { try { PreparedStatement s = conn.get() .prepareStatement(getDeleteUndoableBlocksSQL()); s.setInt(1, height); if (log.isDebugEnabled()) log.debug("Deleting undoable undoable block with height <= " + height); s.executeUpdate(); s.close(); } catch (SQLException ex) { throw new BlockStoreException(ex); } }
private void removeUndoableBlocksWhereHeightIsLessThan(int height) throws BlockStoreException { try { PreparedStatement s = conn.get() .prepareStatement(getDeleteUndoableBlocksSQL()); s.setInt(1, height); if (log.isDebugEnabled()) log.debug("Deleting undoable undoable block with height <= " + height); s.executeUpdate(); s.close(); } catch (SQLException ex) { throw new BlockStoreException(ex); } }
private void removeUndoableBlocksWhereHeightIsLessThan(int height) throws BlockStoreException { try { PreparedStatement s = conn.get() .prepareStatement(getDeleteUndoableBlocksSQL()); s.setInt(1, height); if (log.isDebugEnabled()) log.debug("Deleting undoable undoable block with height <= " + height); s.executeUpdate(); s.close(); } catch (SQLException ex) { throw new BlockStoreException(ex); } }
private void removeUndoableBlocksWhereHeightIsLessThan(int height) throws BlockStoreException { try { PreparedStatement s = conn.get() .prepareStatement(getDeleteUndoableBlocksSQL()); s.setInt(1, height); if (log.isDebugEnabled()) log.debug("Deleting undoable undoable block with height <= " + height); s.executeUpdate(); s.close(); } catch (SQLException ex) { throw new BlockStoreException(ex); } }