guilhermerama
c7ef097c25
partitionJob.xml shouid demonstrate asynch process
...
The README file on samples describes the partitionJob as an example of the asynch process feature, so I changed the class of the taskExecutor to SimpleAsyncTaskExecutor
2015-11-20 12:49:11 -06:00
Philippe Marschall
7092102748
BATCH-2411 Remove @SuppressWarnings("unchecked")
...
The source code contains various @SuppressWarnings("unchecked") that
are no longer unnecessary since the relevant APIs have been upgraded to
support Java 5 generics.
- remove @SuppressWarnings("unchecked") where no longer unnecessary
Issue: BATCH-2411
2015-08-05 18:04:40 -05:00
Seo Kyung-Seok
834d8ee627
BATCH-2205:
...
MethodInvokingTaskletAdaper does not support primitive arguments.
- Improvement of
AbstractMethodInvokingDelegator.targetClassDeclaresTargetMethod()
2015-05-18 16:22:35 -05:00
Michael Minella
7c60b055c3
Removed dependency on ParameterizedRowMapper
...
To support Spring Framework 4.2 which removes ParameterizedRowMapper,
all references to that were switched to RowMapper. As of Spring 3, the
interfaces are identicle so this should cause no backward compatability
issues.
BATCH-2369
2015-03-31 14:08:38 -05:00
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
Andy Wilkinson
ecd8114a46
Update dependency versions
...
In addition to updating the versions of numerous dependencies, this
commit also remove the dependency upon CGLib as it is no longer used.
Two test classes have been updated. One to cope with a new method in
Commons IO FileUtils which made a method call ambiguous, and one to
cope with API changes in the latest version of Quartz.
2014-05-05 11:27:14 -05:00
Michael Minella
8703d11cba
BATCH-2219: Moved maven site content into reference guide and README.md
...
* Moved batch-principles-guidelines to reference guide
* Moved batch-processing-strategies to reference guide
* Moved transactions to reference guide
* Moved spring batch samples notes to a README.md for the samples module
2014-04-30 09:41:40 -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
jpraet
b26d272d43
cleanup
2014-04-02 14:35:53 -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
Chris Schaefer
65f37c170a
BATCH-2201: Update URL's to point to spring.io in docs
...
Update URLs pointing to springframework/springsource to spring.io.
Remove links that have no redirection
2014-03-25 12:24:37 -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
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