Commit Graph

1220 Commits

Author SHA1 Message Date
robokaso
a61b725bc2 REOPENED - BATCH-715: Default value of saveState flag should be true
changed the default value for ItemWriters
2008-07-08 07:46:54 +00:00
lucasward
8f66882c51 BATCH-704: Failure to parse BigDecimal in FieldSet will now throw a NumberFormatException 2008-07-07 16:39:08 +00:00
dsyer
54b322dfa7 RESOLVED - issue BATCH-715: Default value of saveState flag should be true 2008-07-05 16:01:32 +00:00
dsyer
3d78c0bcb5 Dust off JMX demo 2008-07-05 07:32:44 +00:00
robokaso
086fded0cf RESOLVED - BATCH-708: merge MultiResourceItemReader and SortedMultiResourceItemReader 2008-07-04 08:28:11 +00:00
lucasward
3757b239d0 BATCH-700:LineTokenizer implementations are now consistent in their handling of incorrect data. 2008-07-04 03:35:28 +00:00
lucasward
e748dad82e BATCH-713: Javadoc on WriterNotOpenException was incorrect from copy-pasting. 2008-07-03 18:43:21 +00:00
lucasward
cb3f23e4c5 BATCH-713: FlatFileItemWriter now requires open to be called before write. There are also some additional clarifying test cases to the tokenizer tests. 2008-07-03 18:36:52 +00:00
dsyer
9c57a5c569 ResourceLineReader did not need to implement ItemStream 2008-07-03 16:55:30 +00:00
dsyer
8a10ccb1ee Move specific reader/writer to subpackages 2008-07-03 15:42:36 +00:00
robokaso
fa54917a0a RESOLVED - BATCH-699: Document thread safety
Added javadoc mostly to ItemReaders and ItemWriters adn fixed the misleading javadoc of ItemReader interface.
2008-07-02 11:11:16 +00:00
robokaso
544390720b RESOLVED - BATCH-698: StaxEventItemWriter test failures
* fixed the unjustified assertions
* added call to XMLEventWriter#flush inside ItemWriter#flush
2008-07-01 13:44:38 +00:00
robokaso
cf37f2e31f * renamed PIECE_COUNT to READ_COUNT in AbstractBufferedItemReaderItemStream
* taskletJob now uses "java -version" as platform neutral successful command
2008-07-01 08:16:45 +00:00
dsyer
56564c73b8 RESOLVED - issue BATCH-694: make line separator a configurable property of FlatFileItemWriter 2008-07-01 06:40:21 +00:00
robokaso
a35ad43fe7 RESOLVED - BATCH-414: consistent handling of empty input by ItemReaders
renamed listener + reused NoWorkFoundException
2008-06-30 08:16:52 +00:00
dsyer
f4274270e7 BATCH-328: applied patch 2008-06-29 07:52:23 +00:00
dsyer
c52e7d0aba Change incrementer column name as suggested by Thmoas 2008-06-28 08:17:49 +00:00
lucasward
98367c87e7 BATCH-599: fixed unit tests errors 2008-06-27 20:07:18 +00:00
lucasward
321fdad53b BATCH-599: changed variable name as well as value to 'PIECE_COUNT' 2008-06-27 19:21:39 +00:00
lucasward
068fbd1789 BATCH-599: Refactored the ExecutionContext section of chapter two, so that it is easier to understand. Also changed the key used for all ItemReaders the use the abstract reader to 'piece.count', from 'item.count' 2008-06-27 19:19:28 +00:00
dsyer
26aee69c6a Add setter for primary key column name (in case someone changed the schema). 2008-06-27 14:14:28 +00:00
robokaso
9df6431654 IN PROGRESS - BATCH-414: consistent handling of empty input by ItemReaders
empty input handled gracefully by all readers + tests
2008-06-26 13:51:01 +00:00
dsyer
786de6f5a8 RESOLVED - issue BATCH-687: BatchUpdateItemWriter should fail if any of the statements does not update any rows (at least by default). 2008-06-25 11:58:55 +00:00
dsyer
80b4386c1b Upgrade to Spring 2.5.5 2008-06-24 13:40:42 +00:00
dsyer
aca17b3135 Rename private inner class 2008-06-23 10:40:00 +00:00
dsyer
09d7b58c57 changed the way the datasource is initialised for tests (inadvertently) 2008-06-22 08:26:56 +00:00
dsyer
5a995040b2 missed a datasource config 2008-06-21 18:33:17 +00:00
dsyer
a078199eae RESOLVED - issue BATCH-680: Allow override of Transaction Definition in get transaction in Item Oriented Step
Added transactionAttribute to ItemOrientedStep and the factory bean
2008-06-21 09:44:40 +00:00
dsyer
26d14d2068 OPEN - issue BATCH-654: Transactions when commit fails
Add copy constructor to ExecutionContext
2008-06-18 09:21:19 +00:00
dsyer
dc7f0dc1d0 Deprecated public method that should not be in public API. 2008-06-18 09:11:55 +00:00
robokaso
66b7a4ef11 RESOLVED - BATCH-664: smarter restart for MultiResourceItemReader
refactoring for better clarity
2008-06-16 14:10:56 +00:00
robokaso
794544307f IN PROGRESS - BATCH-664: smarter restart for MultiResourceItemReader
refactoring for better clarity
2008-06-16 12:50:35 +00:00
robokaso
8605672299 IN PROGRESS - BATCH-664: smarter restart for MultiResourceItemReader
smarter restart but ugly code
2008-06-16 11:47:28 +00:00
dsyer
d81dc47af9 Add typesafe enum for Alignment in FixedLengthLineAggregator 2008-06-13 10:22:28 +00:00
robokaso
1d649da1aa added assertion for not-null delegate 2008-06-11 13:42:05 +00:00
robokaso
c82470f9c4 minor code cleanup 2008-06-11 13:38:23 +00:00
robokaso
d7484999ae RESOLVED - BATCH-663: MultiResourceItemReader doesn't restart correctly after multi-resource rollback
additional javadoc
2008-06-11 13:32:55 +00:00
robokaso
5b0d65c478 RESOLVED - BATCH-663: MultiResourceItemReader doesn't restart correctly after multi-resource rollback
* added common test for the "rollback + restart" scenario
* MultiResourceItemReader now extends AbstractBufferedItemStreamItemReader
2008-06-11 13:04:44 +00:00
robokaso
dcca8b74cb RESOLVED - BATCH-548: skipping items can lead to an invalidated mark in the ResourceItemReader
added item buffering to FlatFileItemReader
2008-06-11 11:28:56 +00:00
robokaso
4f3294d127 OPEN - BATCH-659: unused classes deprecation/removal
added deprecations
2008-06-10 09:06:05 +00:00
robokaso
dfef707dc9 minor code cleanup 2008-06-09 14:00:51 +00:00
dsyer
7a67464374 Fix 1.4 samples CI 2008-06-09 07:30:14 +00:00
robokaso
7df20a9902 RESOLVED - BATCH-653: consistent item buffering in ItemReaders
JdbcCursorItemReader now extends AbstractBufferedItemReaderItemStream
2008-06-06 10:44:08 +00:00
robokaso
09b5acc368 IN PROGRESS - BATCH-653: consistent item buffering in ItemReaders
StaxEventItemReader now extends AbstractBufferedItemReaderItemStream
2008-06-06 09:41:07 +00:00
robokaso
6a3cd3ffbe IN PROGRESS - BATCH-653: consistent item buffering in ItemReaders
extracted generic buffered reader superclass from HibernateCursorItemReader
2008-06-06 09:08:18 +00:00
dsyer
e54aafd335 REOPENED - issue BATCH-640: FieldSetMapper.mapLine() should contain the line number
Reverted rownum change in FieldSetMapper
2008-06-05 17:24:34 +00:00
dsyer
85e168e2db RESOLVED - issue BATCH-640: FieldSetMapper.mapLine() should contain the line number
Added rownum parameter to field set mapper (with default value -1 defined as constant in FieldSetMapper)
2008-06-05 15:03:10 +00:00
robokaso
b89bbbadb6 RESOLVED - BATCH-16: Factor out common file handling concerns of Xml and FlatFile output templates
FlatFileItemWriter now uses FileUtils
2008-06-05 11:59:09 +00:00
dsyer
a55e488c14 RESOLVED - issue BATCH-572: Retryable exceptions cannot be skippable
* Deprecated StatefulRetryStepFactoryBean
* Added generic cache limit property to SkipLimitStepFactoryBean (replacing skipCacheLimit)
* Testing
2008-06-05 11:53:36 +00:00
robokaso
05b3e0ad36 RESOLVED - BATCH-649: Fetch Limit in Hibernate item reader 2008-06-05 09:36:32 +00:00