switched type of Transaction.id from Integer to Long