Changing the hibernate transaction.