Commit Graph

979 Commits

Author SHA1 Message Date
Glenn Renfro
8dd7d1e880 Added builder for GemfireItemWriter
resolves BATCH-2614
2017-05-26 17:33:42 -05:00
Glenn Renfro
82f0fe9abb Added builder for MongoItemWriter
resolves BATCH-2613
2017-05-26 16:48:42 -05:00
Glenn Renfro
fa977333fe Added builder for MongoItemReader
resolves BATCH-2612
2017-05-26 16:26:39 -05:00
Glenn Renfro
ccb6e89166 Added builder for Neo4jWriter
resolves BATCH-2611
2017-05-26 12:58:25 -05:00
Michael Minella
95b5befe4b Polish to reslove BATCH-2606 2017-05-26 11:50:07 -05:00
Glenn Renfro
6950318bab Add Builder for RepositoryItemReader
resolves BATCH-2606
2017-05-26 11:49:56 -05:00
Glenn Renfro
4d9b13ce92 Updates builders to take advantage of abstract base classes.
Specifically AbstractItemCountingItemStreamItemReaderBuilder or AbstractItemStreamSupportBuilder

resolves BATCH-2608
2017-05-25 10:08:33 -05:00
Michael Minella
8f05c3e11e Add previously closed check around HibernateCusorItemReader#close()
This commit makes calling the close method on the
HibernateCursorItemReader safe to be called multiple times.

Resloves BATCH-2619
2017-05-25 09:41:49 -05:00
Glenn Renfro
7a1804b68d Add builder for AmqpItemReader
resolves BATCH-2615
2017-05-18 09:04:07 -04:00
Glenn Renfro
a54e292ae6 Adds builder for MultiResourceItemWriter.
resolves BATCH-2605
2017-05-15 07:05:12 -05:00
Glenn Renfro
39d985d263 Adds builder for MultiResourceItemReader
resolves BATCH-2604
2017-05-15 06:17:45 -05:00
Glenn Renfro
760b0928b9 Adds builder for JmsItemWriter.
resolves BATCH-2603
2017-05-15 06:14:44 -05:00
Glenn Renfro
3850e4c2fe Add builder for JmsItemReader
resolves BATCH-2602
2017-05-12 17:01:29 -05:00
Glenn Renfro
70a1a83a9a Add Builder for ClassifierCompositeItemWriter
resolves BATCH-2599

Added null check for setClassifier in ClassifierCompositeItemWriter.
2017-05-12 16:33:32 -05:00
Glenn Renfro
75566ba810 Added CompositeItemWriterBuilder.
resolves BATCH-2597
2017-05-10 11:10:07 -07:00
Glenn Renfro
4a3086fe4b Add Builder for SynchronizedItemStreamReader
Reimplemented tests from the SynchronizedItemStreamReaderTests for the builder as a better part of valor.

resolves BATCH-2595
2017-05-09 10:49:00 -07:00
Glenn Renfro
cd3332ae55 Adds Builder for SimpleMailMessageItemWriter
resolves BATCH-2594
2017-05-09 10:15:27 -07:00
Glenn Renfro
fdc34962ea Adds builder for SingleItemPeekableItemReader
resolves BATCH-2593
2017-05-08 12:51:17 -07:00
Michael Minella
ba048380e1 Added convenience methods for native queries in the
HibernateCursorItemReader

This commit adds convenience methods for simplifying the creation of a
HibernateNativeQueryProvider using the HibernateCursorItemReaderBuilder.
2017-05-04 21:26:10 -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
910efb25e7 Introduce a builder for the HibernatePagingItemReader
This commit creates a builder for the HibernatePagingItemReader.

Resolves BATCH-2588
2017-05-02 23:39:36 -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
6f7233222d Upgraded Spring Data versions
This commit upgrades the Spring Data versions to the latest snapshots
2017-04-21 11:27:56 -05:00
Michael Minella
3f22b61a66 Added a builder for the HibernateItemWriter
This commit adds a builder for the HibernateItemWriter.  It also removes
the previously depricated HibernateTemplate references from the
HibernateItemWriter.

Resolves BATCH-2585
2017-04-04 11:51:34 -05:00
Michael Minella
75873629af Created builder for HibernateCursorItemReader
This commit creates a builder for the HibernateCursorItemReader

Resolves BATCH-2584
2017-03-23 21:23:09 -05:00
Michael Minella
7f94ca2e84 Creates a new builder for the JdbcPagingItemReader
This commit creates a builder for the JdbcPagingItemReader

Resolves BATCH-2582
2017-03-10 17:40:25 -06:00
Michael Minella
a6c4dacbbe Refactored bootstrapping of JSR-352 base context
Spring Batch's implementation of JSR-352 previously relied on Spring's
ContextSingletonBeanFactoryLocator.  However, this has been removed in
Spring 5 as a relic of older EJB based use cases.  This commit now
lazily bootstraps the base context on it's own when the first
JsrJobOperator is requested.

Resolves BATCH-2572
2017-03-09 12:16:41 -06:00
Michael Minella
342d27bc1e Removed requirement for a Resource to be set
This commit removes the requirement for a Resource to be configured at
build time.  This requirement prevented the use of this builder along
with the MultiResourceItemReader.
2017-02-21 21:53:24 -06:00
Michael Minella
4012f8d251 Added a builder for the StaxEventItemReader
This commit adds a fluent builder for the StaxEventItemReader.

Resolves BATCH-2576
2017-02-06 16:06:48 -06:00
Michael Minella
2ec8183e39 Create a builder for the StaxEventItemWriter
This commit creates a builder for the StaxEventItemWriter

Resolves BATCH-2573
2017-01-31 16:48:56 -06:00
Michael Minella
c844479daa Configured the MySQLMaxValueIncrementer to use a new connection 2017-01-27 14:37:46 -06:00
Michael Minella
934fcad6c2 Updated StaxEventItemWriter to assert that it has been opened.
This commit adds a proper assertion that the writer has been properly
opened prior to executing a write.  This now returns a
WriterNotOpenException instead of the previous NullPointerException.

Resolves BATCH-2343
2017-01-26 12:08:22 -06:00
Michael Minella
4917ac3017 Jdbc writer fixed to allow Map, named params, and ItemSqlParameterSourceProvider
In merging BATCH-1955, we accidentally prevented the ability to use a
Map as an item, named parameters, and an ItemSqlParameterSourceProvider.
This commit re-enables that capability by checking if the
ItemSqlParameterSourceProvider is null.  If it's not, it's used.
2017-01-26 11:37:56 -06:00
Michael Minella
54a90beed7 Upgraded Mockito
This commit upgrades mockito to the latest currently available version
as well as does some additional cleanup.
2017-01-24 14:18:05 -06:00
Michael Minella
c824ccf7aa Updated Jackson dependency to require the latest for the JsonLineMapper 2017-01-16 13:56:30 -06:00
Michael Minella
26b02fb836 Replaced snapshot versions and addressed deprications
This commit moves all SNAPSHOT dependencies to the latest available
released versions.  It also addresses a number of deprications in the
Spring Data realm.  Specifically around the deprication of the
Neo4JOperations and the package reorganization within Hibernate.
2016-12-30 14:04:58 -06:00
Michael Minella
e8a59846aa Added a builder for JdbcBatchItemWriter
This commit adds a builder for the JdbcBatchItemWriter that includes a
couple nicities to simplify configuration of basic use cases.

Resolves BATCH-2561
2016-12-29 10:34:25 -06:00
Michael Minella
9d9218b7a9 Upgraded minimum requirement for Neo4j
This commit upgrades the minimum requiremnt for Neo4J to be in alignment
with the rest of the Spring IO platform.  Because of this, the Neo4J4
module has been removed since the main line is now at the current level.
2016-12-22 10:42:13 -06:00
Michael Minella
a75b067ebc Added builder for JdbcCursorItemReader
This provides a builder for the JdbcCursorItemReader to simplify java
configuration.

Resolves BATCH-2555
2016-11-18 09:18:26 -06:00
Michael Minella
a6f7ad3373 Added builder for FlatFileItemWriter
This commit adds a builder for the `FlatFileItemWriter`.

Resolves BATCH-2553
2016-10-31 12:41:49 -05:00
Michael Minella
29161487a4 Added builder for the FlatFileItemReader
This commit adds a builder for the `FlatFileItemReader` and commonly
used releated components (`BeanWrapperFieldSetMapper`,
`DelimitedLineTokenizer`, and `FixedLengthTokenizer`).

Resolves BATCH-2549
2016-10-21 16:08:54 -05:00
Michael Minella
a50872904e Initial commit 2016-10-20 11:09:50 -05:00
Michael Minella
0c466339e5 Removed the incorrect setting of the shouldDeleteIfExists flag from the
setter (it's already handled in the afterPropertiesSet).

Resolves BATCH-2495
2016-10-04 11:44:14 -05:00
Michael Minella
b2e6b431dc Updated for Spring 5 baseline
The new Spring 5 baseline consists of Spring 5, Hibernate 5, and Java 8.
This commit addresses any changes to create a successful build of Spring
Batch under those guidances.  Further commits will be coming to address
Java 8 specifics as areas of the project are touched.

Resolves BATCH-2536
2016-09-30 12:34:45 -05:00
Michael Minella
f4c0530730 Upgraded dependency versions and minor polish 2016-08-09 13:19:14 -05:00
Coby Pritchard
fcf6e94248 Handle DB2 on the AS/400 (iSeries) and DB2 Server for VM and VSE
DB2 connections to the AS/400 report incorrectly back as DB2 z/OS. The
current AS/400 reports Database Product Name as "DB2 UDB for AS/400".
Database Product Version has three possible return values based on
product used:
JTOpen reports "07.01.0000 V7R1m0".
Native Driver reports "V7R1M0".
PRDID reports "QSQ07010"

http://www-01.ibm.com/support/knowledgecenter/SSEPEK_10.0.0/com.ibm.db2z10.doc.java/src/tpc/imjcc_c0053013.dita

Also added code to handle DB2 Server for VM and VSE.  This code should
handle the different DB2 Versions.
Spring Community Contributor
2016-04-22 15:41:02 -05:00
Michael Minella
7d2c1a1eca Updated HibernateItemReaderHelper to use reflection for Session#close()
Hibernate 5 changed the signature of the Session#close() method from
returning a Connection to being void.  To support both verions, we've
moved to making the call via reflection.

This commit also upgrades the ActiveMQ version used in testing to be
compliant with the Spring IO Platform.

Resolves BATCH-2496
2016-04-20 22:51:05 -05:00
Michael Minella
b160996576 Created new Neo4J ItemReader to support Spring Data 4
This adds a new ItemReader that works with the Spring Data 4 updated
Neo4JOperations implementation as well as the updated data conversion
techniques.

Resolves BATCH-2473
2016-04-18 18:36:48 -05:00
Rick Craver
b7b2bb3127 fix assert message in PatternMatchingCompositeLineMapper.java
per BATCH-2427, changed assertion message to say "The 'patternMatcher' property must be non-null"
2015-11-25 16:43:35 -06:00