A little change to TransactionDAO.