creditTx.setTxStatus(Status.APPROVED);
creditTx.setBankIdentifier("sbi");
creditTx.setTransactionDt(new Date());
creditTx.setAmount(10);
Ledger ledger = new Ledger();
ledger.setLedgerId("l1");
ledger.setPayee("User1");
creditTx.setLedger(ledger);
// ledger.setTransaction(creditTx);
em.persist(creditTx);