Commit Graph

204 Commits

Author SHA1 Message Date
Michael Minella
52d2c257c5 Version updates 2017-10-23 15:52:55 -05:00
Michael Minella
b180c75ce0 Housecleaning of build warnings 2017-09-15 15:58:22 -05:00
Michael Minella
5d268219fe Create a builder for the JpaPagingItemReader
This commit adds a builder for the JpaPagingItemReader

Resolves BATCH-2591
2017-05-03 16:02:37 -05:00
Michael Minella
b3e8d3ea87 Removed iBatis based components
This commit removes the iBatis based ItemReaders and ItemWriter.  They
were depricated in the 3.0 line in favor of the MyBatis natively
provided ItemReader and ItemWriter implementations.  This removes those
depricated components.

Resolves BATCH-2591
2017-05-03 10:00:41 -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
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
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
Michael Minella
7be035cd3d Fixed NPE in integration test 2015-05-20 22:31:30 -05:00
Michael Minella
37e7ad61b7 Updates to continue debugging 2015-04-14 14:10:51 -04:00
Michael Minella
d42692cc7a Debugging statements for broken unit test (test only fails in CI environment) 2015-04-14 13:53:05 -04: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
a066647149 Change prefetch on jms tests to 0 and add @DirtiesContext to tests
With the upgrade to ActiveMQ 5.9.0 as part of Spring IO, ActiveMQ's
prefetch behavior changed.  With each call to
JmsTemplate#receiveAndConvert, the template creates a new consumer.  In
these tests, the first call created a consumer which prefetched all the
test messages on the queue, leaving them unavailable for the second
consumer the JmsTemplate created.  By setting prefetch to 0, the
messages are now available for the subsequent
JmsTemplate#receiveAndConvert calls.  This addresses BATCH-2248.
2014-10-27 17:16:49 -05:00
Michael Minella
090e6f2039 BATCH-2248: Fixes for Ldif reader tests 2014-10-17 11:40:38 -05:00
Andy Wilkinson
513e47fc9b Update configuration of Spring IO plugin
This commit updates the configuration of the IO plugin to use an
external property, platformVersion, and to only apply the plugin when
this property is set. This removes the declaration of a snapshot
dependency from the normal build configuration and also breaks a
circular dependency between the projects that are in the Platform and
the Platform itself.

The commit also applies the configuration that was applied to the
standard test task, other than code coverage, to the new test tasks
that are created by the Spring IO plugin.

Two redundant Hibernate mapping files have been deleted. With more
recent versions of Hibernate the presence of these files was causing
test failures due to duplicate mappings.
2014-05-15 10:11:50 -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
Michael Minella
6913f5c022 Updated Spring Retry to 1.1.0.RC1 2014-05-02 13:04:31 -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
Gunnar Hillert
f1d71a06f4 BATCH-2144 Convert Spring Batch to use Gradle
* Use Gradle 1.11
* Remove SpringSource references
* Update JavaDoc overview
* Update Jacoco conf + Add license/manifest files
* Addresses also BATCH-2187
* Update a number of unit tests to not be ignored

Jira: https://jira.springsource.org/browse/BATCH-2144
2014-04-24 12:16:17 -05:00
jpraet
b26d272d43 cleanup 2014-04-02 14:35:53 -04:00
Michael Minella
ff7793cacf [maven-release-plugin] prepare for next development iteration 2014-02-21 21:42:59 -06:00
Michael Minella
f690c496c4 [maven-release-plugin] prepare release 3.0.0.M3 2014-02-21 21:42:55 -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
Michael Minella
8bee7ac310 Cleaned up merge issues and warnings in POM files 2013-11-22 17:12:22 -06:00
Michael Minella
3dcbb44906 [maven-release-plugin] prepare release 2.2.3.RELEASE 2013-11-22 17:03:55 -06:00
Michael Minella
c5f65b697f [maven-release-plugin] prepare for next development iteration 2013-11-22 16:18:46 -06:00
Michael Minella
01620222f6 [maven-release-plugin] prepare release 2.2.2.RELEASE 2013-11-22 16:09:10 -06:00
Michael Minella
35332a4757 [maven-release-plugin] prepare for next development iteration 2013-09-09 21:31:36 -07:00
Michael Minella
395c219b8b [maven-release-plugin] prepare release 3.0.0.M2 2013-09-09 21:31:30 -07:00
Michael Minella
2c1b8e154a [maven-release-plugin] prepare for next development iteration 2013-08-23 15:15:56 -05:00
Michael Minella
9618902ce6 [maven-release-plugin] prepare release 3.0.0.M1 2013-08-23 15:15:52 -05:00
Chris Schaefer
7cfd65acf4 move master back to 3.0.0.BUILD-SNAPSHOT 2013-07-30 14:05:55 -04:00
Michael Minella
853c960bdf [maven-release-plugin] prepare for next development iteration 2013-07-26 13:19:49 -05:00
Michael Minella
6669780a74 [maven-release-plugin] prepare release 2.2.1.RELEASE 2013-07-26 13:19:45 -05:00
Michael Minella
820ac0b073 [maven-release-plugin] prepare for next development iteration 2013-06-05 12:13:26 -05:00
Michael Minella
958ec860ba [maven-release-plugin] prepare release 2.2.0.RELEASE 2013-06-05 12:13:20 -05:00
Michael Minella
0f03ea0ffa [maven-release-plugin] prepare for next development iteration 2013-05-14 10:36:32 -05:00
Michael Minella
b28feac263 [maven-release-plugin] prepare release 2.2.0.RC2 2013-05-14 10:36:27 -05:00
Michael Minella
a8e9facf68 [maven-release-plugin] prepare for next development iteration 2013-04-08 13:58:09 -05:00
Michael Minella
b683ddcf66 [maven-release-plugin] prepare release 2.2.0.RC1 2013-04-08 13:58:05 -05:00
Chris Schaefer
082c81765f BATCH-1968: Upgrade to hsqldb 2.2.9 2013-03-21 10:31:52 -05:00
Will Schipp
7e1e66d677 migration from EasyMock to Mockito 2013-02-10 14:30:57 +00:00
Michael Minella
51e0e65063 [maven-release-plugin] prepare for next development iteration 2013-01-24 14:01:10 -06:00
Michael Minella
32af6556e3 [maven-release-plugin] prepare release 2.2.0.M1 2013-01-24 14:01:04 -06:00
Michael Minella
cc370d9ac5 [maven-release-plugin] prepare for next development iteration 2013-01-23 09:54:38 -06:00
Michael Minella
b77d1a28e1 [maven-release-plugin] prepare release 2.2.0.M1 2013-01-23 09:54:30 -06:00
Michael Minella
f1a8250f28 Added dependency to apache-commons back to satisfy Castor 2013-01-22 09:21:15 -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
c097055288 Removing redundant dependency on JPA 1.0 jar to fix integration test 2013-01-09 11:00:14 -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