Commit Graph

48 Commits

Author SHA1 Message Date
Glenn Renfro
0e510112a9 Add Builder for MappingLdifReader.
Resolves #BATCH-2601
2017-07-25 14:02:13 -05:00
Michael Minella
263e978a1f Updated for various code warnings
This commit addresses a number of deprications and other code warnings.
There are still many more to address, but this is a start.
2017-05-02 12:48:03 -05:00
Michael Minella
2ee254fe01 Fixing integration tests for CI build 2016-10-03 17:44:50 -05:00
Michael Minella
aef9a52d40 Added test to verify concurrent transactions with HSQLDB 2015-11-09 13:36:57 -06:00
Philippe Marschall
dcc9da8273 BATCH-2407 Use StringBuilder instead of StringBuffer
With Java 1.5 StringBuilder is preferred over StringBuffer for single
threaded access as is has less overhead.

This is evidenced by the class comment of StringBuffer and Effective
Java 2nd Edition Item 67: Avoid excessive synchronization.

> The StringBuilder class should generally be used in preference to
> this one, as it supports all of the same operations but it is faster,
> as it performs no synchronization.

 - replace StringBuffer with StringBuilder where possible

Issue: BATCH-2407
2015-08-06 10:22:39 -05:00
Philippe Marschall
7ec7152c5e BATCH-2410 junit.framework.Assert is deprecated 2015-07-31 12:44:25 -05:00
Andy Wilkinson
ff2b6a8cee Remove remaining dependencies on ParameterizedRowMapper
This is a follow-on from adc2f79. It removes the remaining references
to ParameterizedRowMapper and should, therefore, make things fully
compatible with Spring Framework 4.2.
2015-07-09 16:04:50 -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
090e6f2039 BATCH-2248: Fixes for Ldif reader tests 2014-10-17 11:40:38 -05:00
Michael Minella
6d94ae9031 Updated hsqldb urls to use MVCC mode 2014-05-05 15:08:05 -05:00
Gunnar Hillert
11a8ec1dc4 BATCH-2144 - Merged Michael's changes
* Merge PR https://github.com/ghillert/spring-batch/pull/1
* Update Spring Integration dependency to 4.0.0.RC1
* Update docbook-reference-plugin to 0.2.8
2014-04-24 12:16:17 -05:00
Michael Minella
2c2744ff88 BATCH-2202: Removed unnecessecary LdifAggregator and corrected javadoc on RecordCallbackHandler 2014-04-22 10:33:49 -05:00
Michael Minella
337b844fc9 Bringing the LDIF based ItemReader from Spring LDAP to Spring Batch to break circular dependency 2014-04-22 10:33:49 -05:00
jpraet
b26d272d43 cleanup 2014-04-02 14:35:53 -04:00
jpraet
d504e45a1f Add unit test for BATCH-1980 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
ce16ad2b03 BATCH-2007: Added a JobOperator implementation that complies with JSR-352.
* Added JsrJobOperator
* Added a ParametersConverter (and JSR-352 implementation) that converts parameters as specified by the JSR to JobParameters and back
* Added a method to the JobRepository to allow the direct creation of a JobInstance (since the JSR requires a new instance for each call to JobOperator#start
* Added a base context to be bootstrapped when the JobOperator is first referenced.  It provides things like a JobRepository, etc.
2013-08-04 11:49:48 -05: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
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
d8af541020 BATCH-1929: Convert deprecated classes from the org.springframework.jdbc.core.simple package in core-tests 2012-12-13 00:44:33 -05:00
Dave Syer
f63f67c65a BATCH-1913: Add step builders 2012-12-04 18:12:20 +00: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
e6ffdc3f03 Decrease likelihood of contention in integration tests that misbehave since 2.1.7 2011-03-26 11:43:41 +00:00
Dave Syer
87c7671faa Fix build - wrong assumption about expected rollbacks 2011-03-22 09:10:10 +00:00
Dave Syer
c74e28165d BATCH-1396: added assertions to integration test 2011-03-21 09:53:29 +00:00
Dave Syer
58ad6bd542 BATCH-1396: added step scope to retry and fixed bugs 2011-03-21 09:35:20 +00:00
Dave Syer
eb79b4c2fb BATCH-1396: added step scope to skip policy in chunk parser 2011-03-20 09:32:36 +00:00
Dave Syer
23587e0855 BATCH-1396: added step scope to completion policy in chunk parser 2011-03-19 16:14:50 +00:00
Dave Syer
a90aad85fd Tweak config in integratio ntests for MySQL 2011-01-28 13:50:17 +00:00
Dave Syer
ff15bd0648 BATCH-1668: added check for transaction in JobRepository 2011-01-05 15:51:56 +00:00
Dave Syer
f55bc5e44f BATCH-1656: fix logic error for skip limit exceeded on no-rollback exception 2010-11-22 11:03:39 +00:00
dsyer
c503a19992 Revert to thread safe but less robust in the face of transaction exceptions MapStepExecutionDao 2010-09-11 08:04:58 +00:00
dsyer
8782405974 Tweak Map-based repository for performance (serialization of a StepExecution is expensive and unnecessary) 2010-04-07 11:05:46 +00:00
dsyer
11cc0250ce Tidy up tests 2010-04-03 10:21:05 +00:00
dsyer
f7d377908d Tweak concurrency support in transaction aware collections 2010-04-03 09:34:02 +00:00
dsyer
8ffebc3e66 RESOLVED - issue BATCH-1541, BATCH-1542: Thread safety for map daos 2010-03-28 08:37:00 +00:00
dsyer
bbaae6bef8 Correct comment 2010-03-10 08:32:14 +00:00
dsyer
4aaa88b76d RESOLVED - issue BATCH-1522: Intermittent failure of FaultTolerantStepFactoryBean in multi-threaded test 2010-03-03 12:48:58 +00:00
dsyer
9f37db9f39 OPEN - issue BATCH-1522: Intermittent failure of FaultTolerantStepFactoryBean in multi-threaded test 2010-03-03 12:04:38 +00:00
dsyer
09d852285f BATCH-1483: resolve cycle by moving interface to parent package 2010-01-14 11:05:30 +00:00
dsyer
d272a42b42 RESOLVED - issue BATCH-1483: Make the JobParametersValidator instance accessible from the Job interface 2010-01-12 09:51:17 +00:00
dsyer
3be4f860c7 BATCH-929: added test to core-tests for deferred constraints 2010-01-04 09:32:06 +00:00
dsyer
6270969054 RESOLVED - issue BATCH-1407: Integration tests for core (including multi-threaded long running tests) 2009-12-21 16:02:43 +00:00
dsyer
644efc30a0 OPEN - issue BATCH-1407: Integration tests for core (including multi-threaded long running tests) 2009-12-21 14:23:44 +00:00
dsyer
e5457c99d1 add core tests to build 2009-11-10 18:33:31 +00:00
dsyer
b0d6e0e2b9 add spring3 profile 2009-07-07 12:56:53 +00:00
dsyer
935060776f BATCH-1303: add core-tests as a Spring 3.0 integration test project 2009-06-22 07:55:30 +00:00