RESOLVED - issue BATCH-400: Batch support schemas does not include RI and primary keys
http://jira.springframework.org/browse/BATCH-400
This commit is contained in:
@@ -44,7 +44,10 @@ public class JdbcJobRepositoryTests extends AbstractTransactionalDataSourceSprin
|
||||
|
||||
protected void onSetUpBeforeTransaction() throws Exception {
|
||||
startNewTransaction();
|
||||
getJdbcTemplate().update("DELETE FROM BATCH_STEP_EXECUTION_CONTEXT");
|
||||
getJdbcTemplate().update("DELETE FROM BATCH_STEP_EXECUTION");
|
||||
getJdbcTemplate().update("DELETE FROM BATCH_JOB_EXECUTION");
|
||||
getJdbcTemplate().update("DELETE FROM BATCH_JOB_PARAMS");
|
||||
getJdbcTemplate().update("DELETE FROM BATCH_JOB_INSTANCE");
|
||||
setComplete();
|
||||
endTransaction();
|
||||
|
||||
Reference in New Issue
Block a user