Commit Graph

1220 Commits

Author SHA1 Message Date
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
dsyer
56ddba0a7b Fix queue full exception in repeat template in CI build - use unbounded queue for results (will be bounded in practice by throttle limit anyway). 2008-05-29 10:58:09 +00:00
dsyer
fe17eab945 BATCH-620: what is it with this failed test? 2008-05-27 20:45:36 +00:00
dsyer
488ce57cc0 RESOLVED - issue BATCH-620: Flat File Writer that writes a Header
Added headers to flat file and xml item writers
2008-05-27 20:23:25 +00:00
robokaso
2624601d9e IN PROGRESS - BATCH-520: Add a Delegating File Reader For Multiple Files
added javadoc concerning importance of resource ordering on restart + TODO for improvements
2008-05-23 15:33:01 +00:00
dsyer
937e898d24 IN PROGRESS - issue BATCH-572: Retryable exceptions cannot be skippable
StatefulRetryStepFactoryBean functionality all moved into SkipLimitStepFactoryBean (the former should be removed). TODO: take some more care with exception types that overlap between retry / skip.
2008-05-23 12:36:46 +00:00
dsyer
abc9111b20 Javadocs spelling error 2008-05-23 08:01:19 +00:00
dsyer
277246cfb6 IN PROGRESS - issue BATCH-572: Retryable exceptions cannot be skippable
Fix exception message (minor)
2008-05-22 17:01:00 +00:00
robokaso
4c73946232 IN PROGRESS - BATCH-520: Add a Delegating File Reader For Multiple Files
setter for resources instead of resourcePatternResolver + locationPattern
2008-05-22 08:05:37 +00:00
robokaso
6419588259 IN PROGRESS - BATCH-520: Add a Delegating File Reader For Multiple Files
added MultiResourceReader (can be used both with FlatFileItemReader or StaxEventItemReader)
2008-05-21 15:30:02 +00:00
dsyer
c914ce74fc OPEN - issue BATCH-572: Retryable exceptions cannot be skippable
Tidied up Javadocs and tests.  Throw exception if retry exhausted and no recovery path provided.
2008-05-21 13:13:50 +00:00
dsyer
4a9e02cda6 IN PROGRESS - issue BATCH-569: Add RetryOperationsInterceptor with stateful retry
Fix issue with final callback value - broken integration build
2008-05-13 22:51:44 +00:00
dsyer
2ac85e454b IN PROGRESS - issue BATCH-569: Add RetryOperationsInterceptor with stateful retry
Tidy up some TODOs
2008-05-11 16:45:07 +00:00
dsyer
2a5895a944 IN PROGRESS - issue BATCH-569: Add RetryOperationsInterceptor with stateful retry
Extract anonymous class to nested static
2008-05-11 14:37:45 +00:00
dsyer
eabac61a40 IN PROGRESS - issue BATCH-569: Add RetryOperationsInterceptor with stateful retry
Add context to retry recovery callback
2008-05-11 14:04:03 +00:00
dsyer
0bf473215c IN PROGRESS - issue BATCH-569: Add RetryOperationsInterceptor with stateful retry
Tidied up exception handling and signatures of callbacks.
2008-05-10 15:40:56 +00:00
dsyer
a0b7049867 OPEN - issue BATCH-569: Add RetryOperationsInterceptor with stateful retry
Refactored ItemWriterRetry* to be less dependent on Item* interfaces.  Added StatefulRetryOperationsInterceptor.
2008-05-09 20:59:59 +00:00
dsyer
b09b30b158 Tweak logging to refer to "repeat" instead of "batch" 2008-05-09 13:50:38 +00:00
robokaso
2f17add6b7 RESOLVED - BATCH-613: StaxEventItemReader can run out of memory
the reader now buffers items instead of xml events
2008-05-07 08:03:00 +00:00
lucasward
ac16b1fa65 BATCH-610:StaxEventItemReader didn't close correctly either, and the test for single column driving query wasn't passing through close calls. 2008-05-02 15:54:29 +00:00
lucasward
0cf7d45026 BATCH-610:Merged change from 1.0.x to 1.1, fixes JdbcCurosItemReader issue 2008-05-02 15:18:18 +00:00
robokaso
203f4a0e4d RESOLVED - BATCH-29: All domain entities and scoping abstractions (RepeatContext in particular) need to be Serializable 2008-04-28 14:15:19 +00:00
nebhale
8b8c65ae50 Branched for 1.1.0 2008-04-28 08:10:52 +00:00
robokaso
daefd2f82e replaced "input source" with "item reader" in exception message 2008-04-28 07:13:40 +00:00
robokaso
a66bbd69c9 IN PROGRESS - BATCH-601: Findbugs code audit 2008-04-24 14:02:39 +00:00
robokaso
7e41ff0381 IN PROGRESS - BATCH-85: Many warnings in Javadocs (e.g. missing links and parameter names)
cleaned up infrastructure module
2008-04-22 09:26:10 +00:00
robokaso
90df52ac55 RESOLVED - BATCH-593: Calling update before read on DrivingQueryItemReader causes ArrayIndexOutOfBoundsError
fixed bug and tested the scenario for all ItemReaders
2008-04-21 08:05:43 +00:00
robokaso
8326f540a7 RESOLVED - BATCH-577: JdbcCursorItemReader doesn't work with Derby
isolated the problematic ResultSet#getRow() call to be used only for cursor position verification and added javadoc to disable the verification when used with Derby
2008-04-17 09:27:34 +00:00
robokaso
eb67e73ab0 replaced StringBuilder with StringBuffer to fix samples-14 build (I though using StringBuilder outside samples was ok?) 2008-04-16 13:00:14 +00:00
robokaso
cbad1565d3 RESOLVED - BATCH-590: broken rollback/buffering in JdbcCursorItemReader
fixed the buffering issue and added a more thorough rollback test for all readers
2008-04-16 12:41:54 +00:00
robokaso
3d30a64f0b RESOLVED - BATCH-589: StepExecutionResourceProxy's toString() leads to NPE
added assertion delegate is not null in toString (similar to other methods) and removed the toString usage in FlatFileItemReader#setResource
2008-04-16 08:09:50 +00:00
robokaso
33ab740a1f OPEN - BATCH-587: Validation : add error object in ValidationException
richer exception messages in SpringValidator + cleaned up the implementation a bit
2008-04-15 13:30:32 +00:00
robokaso
0c40ce5141 RESOLVED - BATCH-578: remove self-initialization from ItemReader#read() implementations 2008-04-14 09:10:17 +00:00
dsyer
8a023b6c5c [BATCH-579] Remove redundant IOException 2008-04-11 21:19:49 +00:00
lucasward
f162c1bd21 BATCH-508: Added default values to ExecutionContext 2008-04-11 20:26:20 +00:00
robokaso
5ff2e320bc RESOLVED - BATCH-522: abstract common concerns from BatchSqlUpdateItemWriter and HibernateAwareItemWriter
duplicate logic pulled up to AbstractTransactionalResourceItemWriter
2008-04-09 09:39:53 +00:00
robokaso
c971e12a03 fix test 2008-04-08 12:07:20 +00:00
dsyer
63127b2e00 [BATCH-568] added check for cursor returning array 2008-04-08 11:43:23 +00:00
robokaso
fa3775851b RESOLVED - BATCH-143: uniform tests for IO sources
abstract CommonItemStreamItemReaderTests added + subclasses that setup different reader implementations
2008-04-08 11:11:16 +00:00
dsyer
a5b934822c Javadocs (implement TODOs) 2008-04-08 07:30:36 +00:00
dsyer
3e2643b9ec Remove redundant public keyword from ItemWriter 2008-04-08 07:28:28 +00:00