Commit Graph

1220 Commits

Author SHA1 Message Date
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
dsyer
9688484ad5 RESOLVED - issue BATCH-237: HibernateAwareItemWriter should clear session after flushing
Added some javadocs to the writers.
2008-03-28 06:46:03 +00:00
dsyer
37f59f3fab OPEN - issue BATCH-486: Users must choose between skip and retry 2008-03-27 16:08:16 +00:00
dsyer
0f84d3064a OPEN - issue BATCH-486: Users must choose between skip and retry
Removed itemReader from retry callback - simplifies stateful retry and makes the ugly exception handling problem go away.
2008-03-27 15:21:20 +00:00
robokaso
3f49e0eb6b RESOLVED - issue BATCH-517: item writers need to handle empty flush gracefully
http://jira.springframework.org/browse/BATCH-517

BatchSqlUpdateItemWriter no longer asserts there are items bound to transaction
2008-03-27 10:01:48 +00:00
lucasward
a727ec76e2 BATCH-514: Forgot to remove an unnecessary interface. 2008-03-27 04:41:15 +00:00
lucasward
720912820d BATCH-514:Additional small refactorings on Jdbc readers. 2008-03-27 04:38:07 +00:00
dsyer
76991edce7 RESOLVED - issue BATCH-447: ItemOrientedStep implementation causes mandatory dependency on backport-util-concurrent
Added AtomicCounter to remove backport dependency
2008-03-26 19:43:19 +00:00
robokaso
6becaa5939 RESOLVED - issue BATCH-515: RepeatTemplate should unwrap RepeatExceptions also for interceptors (not only for exception handler)
http://jira.springframework.org/browse/BATCH-515
2008-03-26 12:38:39 +00:00
lucasward
075c9aca4f BATCH-514: The JdbcCursorItemReader now supports buffering. 2008-03-26 05:22:28 +00:00
dsyer
546010c887 OPEN - issue BATCH-498: Skip method should get ExecutionContext as an argument
Added SkipListener as new StepListener.
2008-03-25 19:15:00 +00:00
dsyer
ea4e6f9ab1 OPEN - issue BATCH-498: Skip method should get ExecutionContext as an argument
Removed Skippable interface.  TODO: beef up configuration of step factory with skips.
2008-03-25 17:41:00 +00:00
robokaso
f5fcf3a6b6 fixed build - lesson learned: samples don't cleanup output files themselves, so they need to be cleaned before each run (otherwise the output file already exists even when the job did nothing).
CompositeItemWriter wasn't delegating flush and clear calls, only write.
2008-03-25 17:02:28 +00:00
robokaso
f888d44336 RESOLVED - issue BATCH-433: FlatFileItemWriter should buffer output
http://jira.springframework.org/browse/BATCH-433
2008-03-25 16:08:59 +00:00
dsyer
44c478cd0e OPEN - issue BATCH-507: FlatFileItemWriter OutputSource not initialised on FlatFileItemReader.open() 2008-03-25 13:45:23 +00:00
nebhale
8b8288d8d8 [BATCH-496] Added more descriptive error messages 2008-03-25 11:04:23 +00:00
robokaso
49b6ebe51e RESOLVED - issue BATCH-491: checked exception handling
http://jira.springframework.org/browse/BATCH-491

exception wrapping and unwrapping moved into RepeatTemplate.
2008-03-25 10:58:08 +00:00
nebhale
0201bcb2b3 [BATCH-499] Updated version number to 1.0.0.FINAL-SNAPSHOT to be universally Maven friendly. Doesn't any find it odd that in 2.0.6 and 2.1 it's broken but in 2.0.7 it's not? That's not the greatest QC. 2008-03-25 10:02:24 +00:00
robokaso
786fcd9bb9 IN PROGRESS - issue BATCH-491: checked exception handling
http://jira.springframework.org/browse/BATCH-491

exception handler signature changed to 'throws Throwable' so that it can simply rethrow without wrapping.
2008-03-25 10:01:47 +00:00
robokaso
f0d7c7135e RESOLVED - issue BATCH-495: readers must not clear buffers on mark()
http://jira.springframework.org/browse/BATCH-495

- updated mark() javadoc to state mark() is called only before processing new chunk, not before reprocessing
- FlatFileItemReader modified to clear the skipped items buffer on mark
2008-03-25 09:01:25 +00:00
dsyer
3d077f424f OPEN - issue BATCH-487: ExecutionContext and JobParameters
Added Javadocs to ExecutionContext.
2008-03-25 07:56:17 +00:00
dsyer
5c840a6960 [BATCH-271] tweak dependencies to ensure optional where appropriate 2008-03-25 05:39:36 +00:00
lucasward
1dcc16e583 BATCH-480: Quick refactoring to how the MultipleColumnJdbcKeyCollector works. It was nevery fully fixed from when the change to ExecutionContext was made from RestartData. Also some misc. documentation fixes based on feedback. 2008-03-25 05:23:26 +00:00
lucasward
22b36cfa40 BATCH-493: Added saveState flag to FlatFileItemWriter and FlatFileItemReader. 2008-03-24 20:34:30 +00:00
lucasward
c1ee372723 BATCH-480: Added setter for JdbcTemplate in SingleColumnJdbcKeyCollector. 2008-03-24 20:04:13 +00:00
dsyer
34f8637404 Tidy up Javadocs in *SynchronizationManager 2008-03-24 08:32:37 +00:00
lucasward
198002d191 BATCH-377: A PreparedStatement can now be set on JdbcCursorItemReader. Also created a JobParametersPreparedStatementSetter, that when registered as a StepListener will set the values on a prepared statement with values from a PreparedStatement. 2008-03-21 04:11:52 +00:00
nebhale
0151e86243 [BATCH-475] Added OSGi manifests 2008-03-20 16:24:02 +00:00