Package com.impetus.kundera.client.crud.mappedsuperclass

Examples of com.impetus.kundera.client.crud.mappedsuperclass.CreditTransaction


    }
   
    @Test
    public void testRelation()
    {
        CreditTransaction creditTx = new CreditTransaction();
        creditTx.setTxId("credit1");
        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);
    
          
View Full Code Here

TOP

Related Classes of com.impetus.kundera.client.crud.mappedsuperclass.CreditTransaction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.