improved BeanTransactions class