db.beginTransaction();
try {
for (LedgerAccount acc : params[0].accountList) {
Log.d("CAT", String.format("Setting %s to %s", acc.getName(),
db.beginTransaction();
try {
for (LedgerAccount acc : params[0].accountList) {
Log.d("CAT", String.format("Setting %s to %s", acc.getName(),