Commit Graph

297 Commits

Author SHA1 Message Date
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
robokaso
0eac8f0c6f RESOLVED - BATCH-561: ItemReaderAdapter still implements unnecessary close method
removed the redundant close method + added javadoc to no-op mark and reset
2008-04-07 08:07:27 +00:00
dsyer
45b3b0e6c3 RESOLVED - issue BATCH-560: StepExecutionResourceProxy can not be used with FlatFileItemWriter
Move "non-existent file" to target dir
2008-04-07 07:54:38 +00:00
dsyer
5d16dc4cdb [BATCH-560] Make sure file exists before setting read only 2008-04-07 07:49:38 +00:00
dsyer
35f0b6a917 RESOLVED - issue BATCH-560: StepExecutionResourceProxy can not be used with FlatFileItemWriter 2008-04-07 07:35:41 +00:00
dsyer
5c1eed2fba RESOLVED - issue BATCH-560: StepExecutionResourceProxy can not be used with FlatFileItemWriter 2008-04-07 07:35:26 +00:00
dsyer
afb9508e4f RESOLVED - issue BATCH-560: StepExecutionResourceProxy can not be used with FlatFileItemWriter 2008-04-07 07:21:18 +00:00
dsyer
6c9cd600dc [BATCH-555] use lenient=false in default field set 2008-04-04 09:44:05 +00:00
lucasward
25dea1694a BATCH-549: JdbcCursorItemReader will not be support being restarted more than once without issue. Added an additional unit test for all item readers to make sure this case is tested for. 2008-04-02 15:43:58 +00:00
robokaso
e023574922 RESOLVED - issue BATCH-547: confusing ItemWriterRetryCallback#doWithRetry
inlined the process(..) method body - it was trivial and used in one place only
2008-04-02 14:52:30 +00:00
robokaso
6111128b57 RESOLVED - issue BATCH-545: RetryTemplate swallows Throwables that are not Exception or Error
added unwrapping of rethrown exceptions before passing to collaborators
2008-04-02 14:42:29 +00:00
robokaso
840cb48995 IN PROGRESS - issue BATCH-545: RetryTemplate swallows Throwables that are not Exception or Error
unclassified throwables are wrapped into RetryException and rethrown
TODO unwrapping before passing RetryException to listeners
2008-04-02 13:55:29 +00:00
dsyer
b050f95f03 RESOLVED - issue BATCH-537: Bad ItemKeyGenerator strategy can lead to infinite loop in retry
Some changes to account for retry exceptions and force a failure if strange hashCode/equals are detected.
2008-04-01 20:09:51 +00:00
lucasward
0ea4e286e8 BATCH-538:Stateful sessions are now closed properly in HibernateCursorItemReader. 2008-04-01 19:13:22 +00:00
dsyer
25281b236e Comments added to clarify TaskExecutorRepeatTemplate 2008-04-01 10:31:55 +00:00
dsyer
c2bb83ce73 RESOLVED - issue BATCH-198: Make backoff policy tests less sensitive to virtualisation 2008-04-01 09:49:11 +00:00
dsyer
565c73a5e9 [BATCH-97] Add profile to integration project to allow tests to be run.
Update wrong version on some poms (like docs).
2008-04-01 08:07:14 +00:00
nebhale
4c4b44042d [maven-release-plugin] prepare for next development iteration 2008-03-28 16:59:15 +00:00
nebhale
ca7aef7794 [maven-release-plugin] prepare release spring-batch-1.0.0.FINAL 2008-03-28 16:58:55 +00:00
robokaso
43a61dac13 RESOLVED - issue BATCH-526: RepeatTemplate#start(..) should be private/protected
http://jira.springframework.org/browse/BATCH-526

changed visibility to protected (same as isComplete(..) and update(..).
2008-03-28 15:00:11 +00:00
dsyer
2cf48e09fa RESOLVED - issue BATCH-525: RepeatTemplate#isComplete(..) should be private/protected 2008-03-28 14:21:05 +00:00
dsyer
3fb89c7249 RESOLVED - issue BATCH-498: Skip method should get ExecutionContext as an argument
Renamed next() method as getItem() (it was a simple getter).
2008-03-28 14:12:36 +00:00
dsyer
0ada1fcaaa RESOLVED - issue BATCH-486: Users must choose between skip and retry
Tweak the retry policy to account for fatal exceptions as well (they should not be retryable).
2008-03-28 12:14:45 +00:00
robokaso
d0455b5197 RESOLVED - issue BATCH-523: FlatFileItemReader calls mark??
http://jira.springframework.org/browse/BATCH-523
2008-03-28 09:12:25 +00:00