Package org.fto.jthink.jdbc

Examples of org.fto.jthink.jdbc.SQLExecutor.executeBatch()


        if(logger.isDebugEnabled()){
          logger.debug("通过SQLBuilder构建的SQL: " + sqlstr+"     ");
        }
      }
      /* 执行SQ语句 */
      int[] rs = sqlExecutor.executeBatch(sqls);
      System.out.println(rs[0]+","+rs[1]);
      /* 提交事务 */
      transaction.commit();
    }catch(Exception e){
      /* 回退事务 */
 
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.