Michael Minella
bb048f3cf8
BATCH-2234: Updated documentation to outline setup requirements as well as adding batch-*.properties files for the other database types
2014-05-16 11:21:13 -05:00
Michael Minella
e7a4e348a5
BATCH-2229 & BATCH-2218: Removed OSGi related metadata and Maven POMs
2014-05-12 15:32:02 -05:00
Michael Minella
6d94ae9031
Updated hsqldb urls to use MVCC mode
2014-05-05 15:08:05 -05:00
Chris Schaefer
ab293b57fb
Add basic JSR-352 configuration samples
...
* Inline class references
* batch.xml references
* Spring bean references
2014-04-16 17:55:21 -04:00
Chris Schaefer
db8b5d9735
General cleanup in spring-batch-samples
...
* Delete unused classes, files, misc ide files
* Cleanup checkstyle/pmd/findbugs reports
* Add @Override as needed
* Remove schema versions in xml configs
* Remove unused imports
* General tidying
* Cleanup deprecated jdbctemplate methods
* Fix @Ignored OrderItemReaderTests test
2014-03-27 00:22:21 -04:00
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
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
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
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
6955ab1d6b
BATCH-1904: Updated to support Hibernate 4
2012-12-31 09:08:57 -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
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
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
9bb970afe2
BATCH-1651: add paging reader to jdbc partitioning sample
2010-11-22 09:43:06 +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
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
164b322173
RESOLVED: BATCH-1501 - paging queries fixed for sort key not in first column of query
2010-02-04 10:07:10 +00:00
dsyer
38591243ab
general tidying
2010-02-02 21:03:01 +00:00
dsyer
96e6286beb
BATCH-1499, BATCH-1497: add alias in SqlPagingItemReader.
2010-01-31 18:43:53 +00:00
dsyer
953fb3a5b4
RESOLVED - issue BATCH-1239: Add email-sending item writer
2010-01-12 17:05:56 +00:00
dsyer
b551563ebe
RESOLVED - issue BATCH-1481: Support injection of step-scoped dependencies into unit tests
...
Added test context listener to last of IO Samples.
2010-01-11 16:41:20 +00:00
dsyer
f8431dff38
RESOLVED - issue BATCH-1481: Support injection of step-scoped dependencies into unit tests
...
Added StepScopeTestUtils. Revised a few test cases.
2010-01-07 09:33:12 +00:00
dsyer
919fc0f8ff
RESOLVED - issue BATCH-1481: Support injection of step-scoped dependencies into unit tests
...
Revert a few of the more complicated options: just support a factory method
2010-01-07 07:50:21 +00:00
dsyer
eb7f543620
RESOLVED - issue BATCH-1478: Add auto registration of StepScope to all the top-level elements in XML
...
RESOLVED - issue BATCH-1479: HippyMethodInvoker
RESOLVED - issue BATCH-1480: Allow method adapter for Tasklet to be configured in namespace
2010-01-06 13:34:22 +00:00
dsyer
85642150da
BATCH-1387: Fix class not found in parser in IDE (Class.forName()). And change Spring namespace version to non-specific.
2010-01-04 13:41:04 +00:00
dsyer
bf1a83b8d4
BATCH-1387: fix some errors and check the effect of new bundle in STS
2010-01-04 12:42:08 +00:00
dsyer
891ff55bf0
BATCH-1473: Refactored context creation components
2010-01-02 21:55:52 +00:00
dsyer
b3784f20ab
BATCH-1467: fix samples config for command line
2009-12-29 14:23:48 +00:00
dsyer
420a6b28aa
BATCH-1460: fix paging queries in Derby and Oracle.
2009-12-21 21:42:46 +00:00
dsyer
159a29216e
Switch driver class for H2 (fixes build?)
2009-12-19 21:11:03 +00:00
dsyer
68b5a4c935
RESOLVED - issue BATCH-1459: H2 support
2009-12-19 16:34:15 +00:00
dsyer
5bfd4addca
Add XML support for partition step in samples
2009-12-13 15:21:20 +00:00