Examples of JdbcExecutionContextDao


Examples of org.springframework.batch.core.repository.dao.JdbcExecutionContextDao

    dao.afterPropertiesSet();
    return dao;
  }

  protected ExecutionContextDao createExecutionContextDao() throws Exception {
    JdbcExecutionContextDao dao = new JdbcExecutionContextDao();
    dao.setJdbcTemplate(jdbcTemplate);
    dao.setTablePrefix(tablePrefix);
    dao.setClobTypeToUse(determineClobTypeToUse(this.databaseType));
    if (lobHandler != null) {
      dao.setLobHandler(lobHandler);
    }
    dao.setSerializer(serializer);
    dao.afterPropertiesSet();
    // Assume the same length.
    dao.setShortContextLength(maxVarCharLength);
    return dao;
  }
View Full Code Here

Examples of org.springframework.batch.core.repository.dao.JdbcExecutionContextDao

        createExecutionContextDao());
  }

  @Override
  protected ExecutionContextDao createExecutionContextDao() throws Exception {
    JdbcExecutionContextDao dao = new JdbcExecutionContextDao();
    dao.setJdbcTemplate(jdbcOperations);
    dao.setLobHandler(lobHandler);
    dao.setTablePrefix(tablePrefix);
    dao.setSerializer(serializer);
    dao.afterPropertiesSet();
    return dao;
  }
View Full Code Here

Examples of org.springframework.batch.core.repository.dao.JdbcExecutionContextDao

    return dao;
  }

  @Override
  protected ExecutionContextDao createExecutionContextDao() throws Exception {
    JdbcExecutionContextDao dao = new JdbcExecutionContextDao();
    dao.setJdbcTemplate(jdbcOperations);
    dao.setTablePrefix(tablePrefix);
    dao.setClobTypeToUse(determineClobTypeToUse(this.databaseType));
    dao.setSerializer(serializer);

    if (lobHandler != null) {
      dao.setLobHandler(lobHandler);
    }

    dao.afterPropertiesSet();
    // Assume the same length.
    dao.setShortContextLength(maxVarCharLength);
    return dao;
  }
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.