Finally: tracked build failure to odd number of items in customer table (after skip sample)

This commit is contained in:
dsyer
2010-03-28 12:03:41 +00:00
parent d39b950eca
commit 5f80ced21f
8 changed files with 72 additions and 44 deletions

View File

@@ -15,7 +15,7 @@ DROP TABLE ERROR_LOG IF EXISTS;
CREATE TABLE CUSTOMER_SEQ (
ID BIGINT IDENTITY
);
INSERT INTO CUSTOMER_SEQ (ID) values (5);
INSERT INTO CUSTOMER_SEQ (ID) values (4);
CREATE TABLE BATCH_STAGING_SEQ (
ID BIGINT IDENTITY
);

View File

@@ -65,7 +65,7 @@
</bean>
<bean id="incrementerParent" parent="${batch.database.incrementer.parent}">
<property name="incrementerName" value="DUMMY" />
<property name="incrementerName" value="DUMMY"/>
</bean>
<!--import resource="alt-data-source-context.xml" /-->

View File

@@ -24,7 +24,7 @@ log4j.appender.chainsaw.layout=org.apache.log4j.xml.XMLLayout
### enable spring
#log4j.logger.org.springframework=info
#log4j.logger.org.springframework.transaction=debug
log4j.logger.org.springframework.jdbc.core=debug
#log4j.logger.org.springframework.jdbc.core=debug
#log4j.logger.org.springframework.orm=debug
### debug your specific package or classes with the following example

View File

@@ -15,9 +15,6 @@
<bean id="jobRepository" class="org.springframework.batch.core.repository.support.JobRepositoryFactoryBean"
p:dataSource-ref="dataSource" p:transactionManager-ref="transactionManager" />
<bean id="mapJobRepository" class="org.springframework.batch.core.repository.support.MapJobRepositoryFactoryBean"
lazy-init="true" autowire-candidate="false" />
<bean id="jobOperator" class="org.springframework.batch.core.launch.support.SimpleJobOperator" p:jobLauncher-ref="jobLauncher"
p:jobExplorer-ref="jobExplorer" p:jobRepository-ref="jobRepository" p:jobRegistry-ref="jobRegistry" />
@@ -44,5 +41,10 @@
</bean>
<bean id="logAdvice" class="org.springframework.batch.sample.common.LogAdvice" />
<bean id="customerIncrementer" parent="incrementerParent">
<property name="incrementerName" value="CUSTOMER_SEQ" />
</bean>
</beans>