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

Examples of org.springframework.batch.core.repository.dao.JdbcJobInstanceDao.afterPropertiesSet()


  protected JobInstanceDao createJobInstanceDao() throws Exception {
    JdbcJobInstanceDao dao = new JdbcJobInstanceDao();
    dao.setJdbcTemplate(jdbcOperations);
    dao.setJobIncrementer(incrementer);
    dao.setTablePrefix(tablePrefix);
    dao.afterPropertiesSet();
    return dao;
  }

  @Override
  protected JobExecutionDao createJobExecutionDao() throws Exception {
View Full Code Here


  protected JobInstanceDao createJobInstanceDao() throws Exception {
    JdbcJobInstanceDao dao = new JdbcJobInstanceDao();
    dao.setJdbcTemplate(jdbcOperations);
    dao.setJobIncrementer(incrementerFactory.getIncrementer(databaseType, tablePrefix + "JOB_SEQ"));
    dao.setTablePrefix(tablePrefix);
    dao.afterPropertiesSet();
    return dao;
  }

  @Override
  protected JobExecutionDao createJobExecutionDao() throws Exception {
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.