Examples of SqlExecutor


Examples of be.jacobsvanroy.springsqlunit.sql.SqlExecutor

    private final Log logger = LogFactory.getLog(this.getClass());

    private SqlRunner sqlRunner;

    public SpringSqlUnitTestExecutionListener() {
        this.sqlRunner = SqlRunner.of(new SqlExecutor());
    }
View Full Code Here

Examples of com.ibatis.sqlmap.engine.execution.SqlExecutor

    parameterMaps = new HashMap();

    requestPool = new ThrottledPool(RequestScope.class, DEFAULT_MAX_REQUESTS);
    sessionPool = new ThrottledPool(SessionScope.class, DEFAULT_MAX_SESSIONS);

    sqlExecutor = new SqlExecutor();
    typeHandlerFactory = new TypeHandlerFactory();
    dataExchangeFactory = new DataExchangeFactory(typeHandlerFactory);
  }
View Full Code Here

Examples of com.ibatis.sqlmap.engine.execution.SqlExecutor

    parameterMaps = new HashMap();

    requestPool = new ThrottledPool(RequestScope.class, DEFAULT_MAX_REQUESTS);
    sessionPool = new ThrottledPool(SessionScope.class, DEFAULT_MAX_SESSIONS);

    sqlExecutor = new SqlExecutor();
    typeHandlerFactory = new TypeHandlerFactory();
    dataExchangeFactory = new DataExchangeFactory(typeHandlerFactory);
  }
View Full Code Here

Examples of com.ibatis.sqlmap.engine.execution.SqlExecutor

    mappedStatements = new HashMap();
    cacheModels = new HashMap();
    resultMaps = new HashMap();
    parameterMaps = new HashMap();

    sqlExecutor = new SqlExecutor();
    typeHandlerFactory = new TypeHandlerFactory();
    dataExchangeFactory = new DataExchangeFactory(typeHandlerFactory);
  }
View Full Code Here

Examples of com.ibatis.sqlmap.engine.execution.SqlExecutor

    parameterMaps = new HashMap();

    requestPool = new ThrottledPool(RequestScope.class, DEFAULT_MAX_REQUESTS);
    sessionPool = new ThrottledPool(SessionScope.class, DEFAULT_MAX_SESSIONS);

    sqlExecutor = new SqlExecutor();
    typeHandlerFactory = new TypeHandlerFactory();
    dataExchangeFactory = new DataExchangeFactory(typeHandlerFactory);
  }
View Full Code Here

Examples of com.ibatis.sqlmap.engine.execution.SqlExecutor

        mappedStatements = new HashMap();
        cacheModels = new HashMap();
        resultMaps = new HashMap();
        parameterMaps = new HashMap();

        sqlExecutor = new SqlExecutor();
        typeHandlerFactory = new TypeHandlerFactory();
        dataExchangeFactory = new DataExchangeFactory(typeHandlerFactory);

        DEBUG.P(0, this, "SqlMapExecutorDelegate()");
    }
View Full Code Here

Examples of com.skyline.energy.executor.impl.SqlExecutor

      throws DaoGenerateException {
    DataAccessExecutor executor = EXECUTOR_CACHE.get(method);

    if (executor == null) {
      CacheExecutor cacheExecutor = createCacheExecutor(cacheManager, method);
      SqlExecutor sqlExecutor = createSqlExecutor(dataAccessor, method);
     
      cacheExecutor.setDataAccessExecutor(sqlExecutor);
      executor = cacheExecutor;
     
      EXECUTOR_CACHE.put(method, executor);
View Full Code Here

Examples of com.skyline.energy.executor.impl.SqlExecutor

    return executor;
  }

  private static SqlExecutor createSqlExecutor(JdbcDataAccessor dataAccessor, Method method)
      throws DaoGenerateException {
    SqlExecutor executor = new SqlExecutor(dataAccessor, method);

    return executor;
  }
View Full Code Here

Examples of org.ejbca.util.SqlExecutor

        Connection con = null;
        log.info("Start migration of database.");
        try {
            InputStreamReader inreader = new InputStreamReader(in);
            con = JDBCUtil.getDBConnection();
            SqlExecutor sqlex = new SqlExecutor(con, false);
            sqlex.runCommands(inreader);
        } catch (SQLException e) {
            log.error("SQL error during database migration: ", e);
            return false;
        } catch (IOException e) {
            log.error("IO error during database migration: ", e);
View Full Code Here

Examples of org.fto.jthink.jdbc.SQLExecutor

 
  /**
   * 创建MssqlSQLExecutor的实例,以SQLExecutor类型返回
   */
  public SQLExecutor create() {
    SQLExecutor executor = new MssqlSQLExecutor(transaction, connId);
//    if(mker!=null){
//      executor.setResultMaker(mker);
//    }
    return executor;
  }
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.