OPEN - issue BATCH-90: StepExecution and StepExecutionContext are parallel domains, and StepExecution is by comparison anaemic

http://opensource.atlassian.com/projects/spring/browse/BATCH-90

Remove *ExecutionContext by merging with *Execution
This commit is contained in:
dsyer
2007-09-30 16:20:23 +00:00
parent c64f067f71
commit 2a2562492e
28 changed files with 296 additions and 271 deletions

View File

@@ -12,8 +12,8 @@
&step-execution-generator;
</id>
<version name="version" access="field"/>
<property name="stepId" type="long" update="false" column="STEP_ID" access="field"/>
<property name="jobExecutionId" type="long" update="false" column="JOB_EXECUTION_ID" access="field"/>
<many-to-one name="step" update="false" column="STEP_ID" access="field"/>
<many-to-one name="jobExecution" cascade="save-update" update="false" column="JOB_EXECUTION_ID" access="field"/>
<property name="startTime" column="START_TIME" />
<property name="endTime" column="END_TIME" />
<property name="status" type="org.springframework.batch.execution.repository.dao.BatchStatusUserType" column="STATUS" />

View File

@@ -12,8 +12,8 @@
&step-generator;
</id>
<version name="version" access="field"/>
<many-to-one name="job" update="false" column="JOB_ID" />
<property name="name" update="false" column="STEP_NAME" />
<many-to-one name="job" update="false" column="JOB_ID" access="field"/>
<property name="name" update="false" column="STEP_NAME" access="field"/>
<property name="restartData"
type="org.springframework.batch.execution.repository.dao.RestartDataUserType" insert="false"
column="RESTART_DATA" />