diff --git a/samples/20070122.testStream.xmlFileStep.xml b/samples/20070122.testStream.xmlFileStep.xml index be4bf3dd6..e698f4395 100644 --- a/samples/20070122.testStream.xmlFileStep.xml +++ b/samples/20070122.testStream.xmlFileStep.xml @@ -1 +1 @@ -Gladys Kravitz
Anytown, PA
3400
2003-01-07 14:16:00.0 GMTBurnham's Celestial Handbook, Vol 15.021.792Burnham's Celestial Handbook, Vol 25.019.892
John Smith
Chicago, IL
4600
2003-01-07 14:16:02.0 GMTXmlBeans in Action3.041.291JSR-1731.011.995Teach Yourself XML in 21 days1.035.491
Peter Newman
Cleveland, OH
2300
2003-01-07 14:16:35.0 GMTJava 62.012.793
\ No newline at end of file +Gladys Kravitz
Anytown, PA
3400
2003-01-07 08:16:00.0 CSTBurnham's Celestial Handbook, Vol 15.021.792Burnham's Celestial Handbook, Vol 25.019.892
John Smith
Chicago, IL
4600
2003-01-07 08:16:02.0 CSTXmlBeans in Action3.041.291JSR-1731.011.995Teach Yourself XML in 21 days1.035.491
Peter Newman
Cleveland, OH
2300
2003-01-07 08:16:35.0 CSTJava 62.012.793
\ No newline at end of file diff --git a/samples/pom.xml b/samples/pom.xml index ef389f345..26a285420 100644 --- a/samples/pom.xml +++ b/samples/pom.xml @@ -1,128 +1,150 @@ - - 4.0.0 - spring-batch-samples - jar - Samples - Example batch jobs using Spring Batch Core and Execution. - - - org.springframework.batch - spring-batch - 1.0-m2-SNAPSHOT - .. - - - - - org.springframework.batch - spring-batch-execution - ${project.version} - - - aspectj - aspectjrt - 1.5.3 - - - junit - junit - 3.8.1 - test - - - org.springmodules - spring-modules-validation - 0.8 - - - org.springframework - spring - - - rhino - js - - - commons-validator - commons-validator - - - - - quartz - quartz - 1.5.1 - - - asm - asm-all - 2.2.3 - test - - - aspectj - aspectjweaver - 1.5.3 - test - - - hsqldb - hsqldb - 1.8.0.7 - test - - - commons-io - commons-io - 1.2 - test - - - commons-dbcp - commons-dbcp - 1.2.1 - - - commons-collections - commons-collections - - - test - - - geronimo-spec - geronimo-spec-j2ee - 1.4-rc4 - test - - - easymock - easymock - 1.1 - test - - - - cglib - cglib-nodep - 2.1_3 - test - - - - com.thoughtworks.xstream - xstream - 1.2.1 - test - - - - stax - stax - 1.2.0 - test - - - - + + 4.0.0 + spring-batch-samples + jar + Samples + + Example batch jobs using Spring Batch Core and Execution. + + + + org.springframework.batch + spring-batch + 1.0-m2-SNAPSHOT + .. + + + + + org.springframework.batch + spring-batch-execution + ${project.version} + + + aspectj + aspectjrt + 1.5.3 + + + junit + junit + 3.8.1 + test + + + org.springmodules + spring-modules-validation + 0.8 + + + org.springframework + spring + + + rhino + js + + + commons-validator + commons-validator + + + + + quartz + quartz + 1.5.1 + + + asm + asm-all + 2.2.3 + test + + + aspectj + aspectjweaver + 1.5.3 + test + + + hsqldb + hsqldb + 1.8.0.7 + test + + + commons-io + commons-io + 1.2 + test + + + commons-dbcp + commons-dbcp + 1.2.1 + + + commons-collections + commons-collections + + + test + + + geronimo-spec + geronimo-spec-j2ee + 1.4-rc4 + test + + + easymock + easymock + 1.1 + test + + + + cglib + cglib-nodep + 2.1_3 + test + + + + com.thoughtworks.xstream + xstream + 1.2.1 + test + + + + stax + stax + 1.2.0 + test + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.3 + + + + **/*Tests.java + + + **/Abstract*.java + **/NflJobFunctionalTests.java + + + + + + diff --git a/samples/src/main/java/org/springframework/batch/sample/dao/SqlNflGameDao.java b/samples/src/main/java/org/springframework/batch/sample/dao/SqlNflGameDao.java index f74464927..c5d3afccd 100644 --- a/samples/src/main/java/org/springframework/batch/sample/dao/SqlNflGameDao.java +++ b/samples/src/main/java/org/springframework/batch/sample/dao/SqlNflGameDao.java @@ -18,10 +18,10 @@ public class SqlNflGameDao extends JdbcDaoSupport implements OutputSource{ NflGame game = (NflGame)output; - Object[] args = new Object[]{game.getId(),game.getYear(),game.getTeam(),game.getWeek(), - game.getOpponent(),game.getCompletes(),game.getAttempts(),game.getPassingYards(), - game.getPassingTd(),game.getInterceptions(),game.getRushes(),game.getRushYards(), - game.getReceptions(),game.getReceptionYards(),game.getTotalTd()}; + Object[] args = new Object[]{game.getId(),new Integer(game.getYear()),game.getTeam(),new Integer(game.getWeek()), + game.getOpponent(),new Integer(game.getCompletes()),new Integer(game.getAttempts()),new Integer(game.getPassingYards()), + new Integer(game.getPassingTd()),new Integer(game.getInterceptions()),new Integer(game.getRushes()),new Integer(game.getRushYards()), + new Integer(game.getReceptions()),new Integer(game.getReceptionYards()),new Integer(game.getTotalTd())}; this.getJdbcTemplate().update(INSERT_GAME, args); } diff --git a/samples/src/main/resources/jobs/compositeProcessorSampleJob.xml b/samples/src/main/resources/jobs/compositeProcessorSampleJob.xml index c24e73a16..340ed93fc 100644 --- a/samples/src/main/resources/jobs/compositeProcessorSampleJob.xml +++ b/samples/src/main/resources/jobs/compositeProcessorSampleJob.xml @@ -29,7 +29,7 @@ - + diff --git a/samples/src/main/resources/jobs/simpleTaskletJob.xml b/samples/src/main/resources/jobs/simpleTaskletJob.xml index 1968d76e5..c180d02a7 100644 --- a/samples/src/main/resources/jobs/simpleTaskletJob.xml +++ b/samples/src/main/resources/jobs/simpleTaskletJob.xml @@ -15,7 +15,7 @@ - +