Commit Graph

360 Commits

Author SHA1 Message Date
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
robokaso
23b5f47d82 RESOLVED - BATCH-651: buffered readers don't handle volatile commit interval
added test and patched the affected readers
2008-06-05 08:54:39 +00:00
dsyer
e194b8da09 Organise imports 2008-06-05 06:40:35 +00:00
dsyer
8ae974341f Fix 1.4 samples build (use ClassUtils) 2008-06-05 06:24:54 +00:00
dsyer
a126171083 Fix 1.4 samples build (use ClassUtils) 2008-06-05 06:22:31 +00:00
robokaso
d377e4c5c3 RESOLVED - BATCH-650: Use FORWARD_ONLY as scroll mode in HibernateCursorItemReader
added item buffer and made the cursor forward-only (+ had to fix samples using stateful items with rollback)
2008-06-04 13:43:00 +00:00
dsyer
c21032332b RESOLVED - issue BATCH-541: pull commit interval from the job parameters
Added StepExecutionSimpleCompletionPolicy (a la StepExecution*) as s one-off solution to the commit interval problem initially posed
2008-06-04 11:55:22 +00:00
robokaso
0497379f68 RESOLVED - BATCH-520: Add a Delegating File Reader For Multiple Files
name the SortedMultiResourceItemReader explicitly (inherited name from superclass before)
2008-06-04 08:49:30 +00:00
robokaso
839f114f31 IN PROGRESS - BATCH-520: Add a Delegating File Reader For Multiple Files
added SortedMultiResourceItemReader which sorts the injected Resources using Comparator
2008-06-03 12:22:20 +00:00
robokaso
ca4fc0dbb4 IN PROGRESS - BATCH-520: Add a Delegating File Reader For Multiple Files
added the common 'foo' tests for both flatfile and xml
added setter for 'saveState'
2008-06-03 08:52:48 +00:00
robokaso
58963c7bdb RESOLVED - BATCH-645: Have JdbcCursorItemReader use ResultSet.absolute() to set the cursor by configuration
cleaned up the javadoc as sideeffect
2008-06-02 09:25:59 +00:00