StoreBlock oldStoreBlock;
try {
DatabaseEntry keyDBE = new DatabaseEntry();
DatabaseEntry dataDBE = new DatabaseEntry();
c.getFirst(keyDBE,dataDBE,LockMode.RMW);
<BUG>oldStoreBlock = (StoreBlock) storeBlockTupleBinding.entryToObject(dataDBE);
c.delete();</BUG>
} finally {
c.close();
}

StoreBlock oldStoreBlock;
try {
DatabaseEntry keyDBE = new DatabaseEntry();
DatabaseEntry dataDBE = new DatabaseEntry();
c.getFirst(keyDBE,dataDBE,LockMode.RMW);
oldStoreBlock = storeBlockTupleBinding.entryToObject(dataDBE);
c.delete();
} finally {
c.close();
}
