code: @Override
      public void onRollback()
      {
          for (Transaction resource : resources)
          {
              resource.discard();
          }
  
          resources.clear();
          resources = new ArrayList<Transaction>();
          isTransactionInProgress = false;
  
      }
docs: /*
  (non-Javadoc)
  
  @see com.impetus.kundera.persistence.TransactionResource#onRollback()