Examples of TxTransaction


Examples of com.bleujin.framework.db.procedure.TxTransaction

    DBController odc = new DBController(oManager) ;
    odc.initSelf() ;
   
   
    // tx1 : mssql
    TxTransaction tx1 = new MSSQL2000TxTransaction(mManager, "mquery") ;
    tx1.add((Queryable)mdc.createUserCommand("insert into copy_tblc values('111', 111)")) ;
   
    // tx2 : oracle
    TxTransaction tx2 = new Oracle9iTxTransaction(oManager, "oquery") ;
    tx2.add((Queryable)odc.createUserCommand("insert into copy_tblc values('111', 111)")) ;
   

    // add tx
    TxTransaction[] txs = new TxTransaction[]{tx1, tx2} ;
    XAUserProcedure upts = new XAUserProcedure(txs) ;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.