Package com.bleujin.framework.db.procedure

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


  public void testComsite() throws Exception {

    dc.execUpdate("truncate table framework_test_tblc#");
   
    CombinedUserProcedures upts = new CombinedUserProcedures(dc, "composite") ;
    UserCommand cmd1 = (UserCommand) dc.createUserCommand("insert into framework_test_tblc# values(1, 'BlaBla')");
    UserCommand cmd2 = (UserCommand) dc.createUserCommand("select * from framework_test_tblc#");
    upts.add(cmd1, "insert", IQueryable.UPDATE_COMMAND).add(cmd2, "select", IQueryable.QUERY_COMMAND) ;

    upts.execUpdate() ;
   
    Map result = upts.getResultMap() ;
View Full Code Here

TOP

Related Classes of com.bleujin.framework.db.procedure.UserCommand

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.