FactoryBean now sets the tablePrefix for taskBatchExecutionListener
resolves #353
This commit is contained in:
committed by
Michael Minella
parent
6426cfea7e
commit
01311e8be6
@@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user