Commit Graph

703 Commits

Author SHA1 Message Date
Michael Minella
4ff7ae84e2 BATCH-2131: Removed Spring Modules as a dependency for samples 2014-02-28 12:40:41 -06:00
Michael Minella
42895fd0ee BATCH-2180: Fixed documentation about the need to registre CompositeItemWriter's delegates as streams 2014-02-21 16:59:53 -06:00
Michael Minella
9317ab2565 BATCH-2112: Removed Spring Batch's SerializationUtils in favor of the Spring Core version 2014-02-12 11:23:03 -06:00
Michael Minella
b278239751 BATCH-2110: Updated batch to support Spring 4
* Refactored iBatis based readers and writers to not utilize
 SqlMapClientTemplate.
* Depricated all iBatis based readers and writers in favor of MyBatis's
 native Spring support.
* Updated XStream support to 1.4.4 and Jettison to 1.2 to be in
 alignment with Spring 4.
* Added the PooledEmbeddedDataSource to address the issue outlined in
 SPR-11372.
2014-02-06 11:34:33 -06:00
Eduard von Feek
8a72d9ff9f * changed keyword from "type" to "engine"
* changed from MyISAM to InnoDB
* fixed property "platform" from "oracle10g" to "mysql"
2013-10-16 09:33:22 -05:00
Michael Minella
e4c33965a0 BATCH-1999: Initial commit of JSR parsing infrastructure 2013-07-24 15:15:36 -05:00
Michael Minella
91deb12a83 BATCH-1728: Initial commit of Spring Data ItemReader/ItemWriter implementations 2013-02-19 10:33:06 -06:00
Wayne Lund
81526f77ac Fixed issue of "drop table" scripts causing tests to fail in samples. Only done for sqlfire and postgres.
I believe others that do not have the "if exists" statements in their drop tables scripts should be retested as
I have not had to do this on any other previous version.  Suspect that "continueOnError" default flag has somehow
gotten flipped.
2013-02-19 08:50:00 -06:00
Will Schipp
7e1e66d677 migration from EasyMock to Mockito 2013-02-10 14:30:57 +00:00
Chris Schaefer
e643d7e3c0 BATCH-1958: Fix typo in samples apt index 2013-02-07 00:46:11 -05:00
Michael Minella
5b5a42a6a6 BATCH-1934: Fixed links within sample's index 2013-02-06 14:57:14 -06:00
Wayne Lund
a7a30cf2ea Fixed samples ioSamples table, and added AmqpItemReader/Writer descriptions. Also
fixed some misspellings while reviewing sections for jsr-352 and added AmqpItemReader/Writer
to Appendix A - Inventory.
2013-02-05 15:58:44 -08:00
Michael Minella
557515df45 BATCH-1412: Implementing non-identifying job parameters 2013-02-05 17:39:12 +00:00
Michael Minella
ca9d00d1a2 Updated to support new 2.2 schema 2013-01-24 13:03:41 -06:00
Dave Syer
bc9ee74a25 BATCH-1950: Patch up build
* Ensure bundlor is available and remove from sample
* Tidy dependencies in some poms
* Update some template.mf dependencies
* Add .travis.yml for automated builds independent of bamboo
2013-01-18 13:46:02 +00:00
Michael Minella
24e662bb69 BATCH-1904: Removed System.out 2012-12-31 09:08:57 -06:00
Michael Minella
6955ab1d6b BATCH-1904: Updated to support Hibernate 4 2012-12-31 09:08:57 -06:00
Chris Schaefer
a6ab68bbbb BATCH-1940: Replace org.springframework.batch.support.JdbcTestUtils with org.springframework.test.jdbc.JdbcTestUtils 2012-12-31 08:35:06 -06:00
Chris Schaefer
dfe13ed07d BATCH-1939: Minor cleanups to AMQP sample 2012-12-21 18:53:20 -05:00
Michael Minella
95ccb1a229 BATCH-1920 - Corrected pom and removed unused reference to JdbcTemplate 2012-12-18 13:46:10 -06:00
wxlund
96f870af4f And now commit with the files that have been added for the sample. 2012-12-18 13:21:32 -06:00
wxlund
0d7bf2cd71 Modified core to support drop and schema-sqlf.sql but leverages derby syntax outside of connection string.
Modified *.properties file to add additional property "batch.isolationlevel=ISOLATION_SERIALIZABLE
because batch-sqlf.properties needs batch.isolationlevel=ISOLATION_READ_COMMITTED.
Added corresponding sqlf properties and sqlf files.
Modified simple-job-launcher-context.xml to support the p:isolationLevelForCreate="${batch.isolationlevel}"
2012-12-18 13:21:32 -06:00
Dave Syer
25cd6d6826 BATCH-1918: First effort at @EnableBatchProcessing
Example:

    @Configuration
    @EnableBatchProcessing
    public class RetrySampleConfiguration {

      @Autowired
      private JobBuilderFactory jobs;

      @Autowired
      private StepBuilderFactory steps;

      @Bean
      public Job retrySample() throws Exception {
        return jobs.get("retrySample").start(step()).build();
      }

      @Bean
      protected Step step() throws Exception {
        return steps.get("step").<Trade, Object> chunk(1).reader(reader()).writer(writer()).faultTolerant()
          .retry(Exception.class).retryLimit(3).build();
      }

      @Bean
      protected ItemReader<Trade> reader() {
        GeneratingTradeItemReader reader = new GeneratingTradeItemReader();
        reader.setLimit(10);
        return reader;
      }

      @Bean
      protected ItemWriter<Object> writer() {
        return new RetrySampleItemWriter<Object>();
      }

    }
2012-12-17 14:17:48 -06:00
Michael Minella
40975b6548 BATCH-1928: Converted to using JdbcOperations over JdbcTemplate 2012-12-17 09:16:30 -06:00
Chris Schaefer
bdece6640c BATCH-1928: Convert deprecated classes from the org.springframework.jdbc.core.simple package in samples 2012-12-17 08:53:17 -06:00
Chris Schaefer
18d923d6ea BATCH-1919: Switch to using <jdbc:/> namespace in samples 2012-12-16 13:32:41 -05:00
Dave Syer
f63f67c65a BATCH-1913: Add step builders 2012-12-04 18:12:20 +00:00
Michael Minella
1cf9573679 BATCH-1749: Updated for sorts to be more intuitive 2012-11-05 10:29:15 -06:00
Michael Minella
12d9918289 BATCH-1749: JdbcPagingItemReader now supports multi-column keys 2012-11-02 15:01:43 -05:00
Chris Schaefer
d512ba8ff2 BATCH-1685: Upgrade minimum support level for Spring to 3.1.2 2012-09-12 06:08:36 +01:00
Dave Syer
7476ac1628 Upgrade site plugin and ensure tables parse correctly 2012-08-28 10:44:04 +01:00
Gary Russell
1ce4cb1e95 BATCH-1837 Spring 3 Compatibility
Update profile to Spring 3.0.7; fix compile issues in 2
tests.
2012-02-21 19:53:49 -05:00
Dave Syer
7e62da9b59 Clarify download locations 2011-05-11 12:08:06 +01:00
Dave Syer
2ea45451e5 Fix pointcut in logging advice 2011-04-26 09:10:38 +01:00
Dave Syer
2522d6c03b Remove unused input files 2011-01-14 09:44:43 +00:00
Dave Syer
a8e16c6421 Fix samples for Derby after upgrade 2011-01-05 15:51:21 +00:00
Dave Syer
3dd0c7f776 Deal with compiler warnings 2010-11-22 14:44:37 +00:00
Dave Syer
9bb970afe2 BATCH-1651: add paging reader to jdbc partitioning sample 2010-11-22 09:43:06 +00:00
dsyer
46bff7fbc1 BATCH-1594: remove non-existent override method 2010-07-09 11:06:12 +00:00
dsyer
8f98f1ea7b BATCH-1575: Add parallelJob test case 2010-05-25 16:32:44 +00:00
dsyer
1de103ee00 Update h2 config 2010-05-14 07:59:17 +00:00
dsyer
d04a904eaf BATCH-1546: add and run integration tests for oracle 2010-04-06 07:51:25 +00:00
dsyer
f38c05567a BATCH-1546: enable integration tests with Oracle 2010-04-05 16:22:08 +00:00
dsyer
8c55fcf8b1 Fix broken build? 2010-03-29 11:47:19 +00:00
dsyer
be46d4e2f3 Move over Jdbc integration test from samples 2010-03-29 10:56:10 +00:00
dsyer
4c0c964a45 revert to previous version 2010-03-28 12:04:21 +00:00
dsyer
5f80ced21f Finally: tracked build failure to odd number of items in customer table (after skip sample) 2010-03-28 12:03:41 +00:00
dsyer
cabaa53c25 BATCH-1537: fix test 2010-03-26 12:31:32 +00:00
dsyer
43b72a8150 BATCH-1537: use startAfterValue to make restart more efficient in JdbcPagingItemReader 2010-03-26 11:00:25 +00:00
dsyer
e9abeffac2 Fix build (ordering issue in test suite) 2010-02-04 11:12:31 +00:00