Revert "Fix fetchTransactions for sql databases"
This reverts commit f77639cd24b0689959e88a0f3dc127f5f09aba9e.
KMyMoney does not compile with this commit so I had to revert it.