Adding getTransaction() and getTxs() methods to db base class