Package org.springframework.batch.core.repository.dao

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


        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

    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

Related Classes of org.springframework.batch.core.repository.dao.JdbcExecutionContextDao

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.