List of usage examples for org.springframework.batch.core.repository.dao JdbcJobExecutionDao setTablePrefix
public void setTablePrefix(String tablePrefix)
From source file:org.springframework.batch.core.repository.support.JobRepositoryFactoryBean.java
@Override protected JobExecutionDao createJobExecutionDao() throws Exception { JdbcJobExecutionDao dao = new JdbcJobExecutionDao(); dao.setJdbcTemplate(jdbcOperations); dao.setJobExecutionIncrementer(/*from w w w . ja v a2 s. c o m*/ incrementerFactory.getIncrementer(databaseType, tablePrefix + "JOB_EXECUTION_SEQ")); dao.setTablePrefix(tablePrefix); dao.setClobTypeToUse(determineClobTypeToUse(this.databaseType)); dao.setExitMessageLength(maxVarCharLength); dao.afterPropertiesSet(); return dao; }