public class JdbcTaskBatchDao extends Object implements TaskBatchDao
TaskBatchDao. Intended to be used in
conjunction with the JDBC based
TaskRepository| Constructor and Description |
|---|
JdbcTaskBatchDao(DataSource dataSource) |
| Modifier and Type | Method and Description |
|---|---|
void |
saveRelationship(TaskExecution taskExecution,
org.springframework.batch.core.JobExecution jobExecution)
Saves the relationship between a task execution and a job execution.
|
void |
setTablePrefix(String tablePrefix)
The table prefix for the task batch table.
|
public JdbcTaskBatchDao(DataSource dataSource)
dataSource - DataSource where the task batch table resides.public void saveRelationship(TaskExecution taskExecution, org.springframework.batch.core.JobExecution jobExecution)
TaskBatchDaosaveRelationship in interface TaskBatchDaotaskExecution - task executionjobExecution - job executionpublic void setTablePrefix(String tablePrefix)
tablePrefix - defaults to JdbcTaskExecutionDao.DEFAULT_TABLE_PREFIX.Copyright © 2016 Pivotal Software, Inc.. All rights reserved.