FactoryBean now sets the tablePrefix for taskBatchExecutionListener

resolves #353
This commit is contained in:
Glenn Renfro
2018-01-18 13:56:04 -05:00
committed by Michael Minella
parent 6426cfea7e
commit 01311e8be6
4 changed files with 169 additions and 7 deletions

View File

@@ -65,10 +65,11 @@ public class TaskBatchAutoConfiguration {
if(taskConfigurer != null && taskConfigurer.getTaskDataSource() != null) {
return new TaskBatchExecutionListenerFactoryBean(
taskConfigurer.getTaskDataSource(),
taskExplorer);
taskExplorer, taskProperties.getTablePrefix());
}
else {
return new TaskBatchExecutionListenerFactoryBean(null, taskExplorer);
return new TaskBatchExecutionListenerFactoryBean(null,
taskExplorer, taskProperties.getTablePrefix());
}
}
}