Commit Graph

1308 Commits

Author SHA1 Message Date
robokaso
ca2db2c31a RESOLVED - issue BATCH-516: default to commitInterval=1 in SimpleStepFactoryBean
http://jira.springframework.org/browse/BATCH-516
2008-03-26 13:58:04 +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
robokaso
6989745c12 RESOLVED - issue BATCH-510: FlatFileItemWriter.restarted logic fails if step fails before first chunk commit.
http://jira.springframework.org/browse/BATCH-510

added initial save of execution context before first chunk
2008-03-26 09:45:07 +00:00
dsyer
f690e39440 RESOLVED - issue BATCH-513: CompositeItemReadListener, CompositeItemWriteListener using ChunkListeners?
Changed signature of methods
2008-03-26 06:41:44 +00:00
dsyer
08ceb9d962 RESOLVED - issue BATCH-498: Skip method should get ExecutionContext as an argument 2008-03-26 06:37:01 +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
dsyer
dba4209d7e OPEN - issue BATCH-498: Skip method should get ExecutionContext as an argument
Handle skip internally in ItemHandler.
2008-03-25 17:11:35 +00:00
dsyer
7a513d4749 OPEN - issue BATCH-498: Skip method should get ExecutionContext as an argument
Handle skip internally in ItemHandler.
2008-03-25 17:10:26 +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
dsyer
055c859d54 OPEN - issue BATCH-506: JobListener is not a BatchListener
Changed BatchListener to StepListener and renamed existing Job/StepListener as *ExecutionListener.
2008-03-25 12:30:06 +00:00
dsyer
1ac5a5296a RESOLVED - issue BATCH-506: JobListener is not a BatchListener
Changed BatchListener to StepListener and renamed existing Job/StepListener as *ExecutionListener.
2008-03-25 12:29:55 +00:00
dsyer
02c59ba0bd [BATCH-120] Add section on custom listeners to execution.xml 2008-03-25 12:17:52 +00:00
nebhale
e826353866 [BATCH-478] Missed a couple of commits 2008-03-25 11:38:38 +00:00
nebhale
4f3bf4ffaf [BATCH-478] Applied patch 2008-03-25 11:08:47 +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
dsyer
f9e4181182 OPEN - issue BATCH-120: Documentation and samples for correct use of listeners and stream interfaces for stateful custom components 2008-03-25 09:40:45 +00:00
dsyer
37d35f42eb RESOLVED - issue BATCH-467: Remove ExitStatusExceptionClassifier / Rewrite SimpleExitStatusExceptionClassifier as a JobListener
Removed the interface and implementation, checked that defautl behaviour is same using unit test ItemOrientedStepTests
2008-03-25 09:08:14 +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
9b4662008a Business schema for tests split out into separate file again 2008-03-25 08:42:11 +00:00
dsyer
30a102101b Remove separate build for schema in tests 2008-03-25 08:41:39 +00:00
dsyer
49e081d9b2 Business schema for tests split out into separate file 2008-03-25 08:28:21 +00:00
dsyer
9081a147da Oops - accidentally put spring-oxm in test scope. 2008-03-25 08:07:46 +00:00
dsyer
3d077f424f OPEN - issue BATCH-487: ExecutionContext and JobParameters
Added Javadocs to ExecutionContext.
2008-03-25 07:56:17 +00:00
dsyer
d3aa8b7594 Changed location of Dai test SQL scripts. 2008-03-25 06:59:21 +00:00
dsyer
3b72c04bef [BATCH-503] Fix TX definition in samples. Also add multi-environment support in samples (mysql and derby as examples) 2008-03-25 06:57:55 +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
9ec5ecf6f4 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:16 +00:00
lucasward
33a46da03c BATCH-493:Forgot to fix restart sample job. 2008-03-24 20:45:51 +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
lucasward
d17219bd1f BATCH-445: Added documentation for the StepExecutionResourceProxy. 2008-03-24 19:29:49 +00:00
dsyer
34f8637404 Tidy up Javadocs in *SynchronizationManager 2008-03-24 08:32:37 +00:00
lucasward
bd703fef34 BATCH-377: Build error should be fixed now. 2008-03-21 19:07:18 +00:00
lucasward
61d50fcd40 BATCH-377: small change to remove unused tables from test schema 2008-03-21 16:52:08 +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
lucasward
bb42725f3f 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:45 +00:00
lucasward
a1bc8993d4 Misc updates based on feedback. 2008-03-20 23:29:52 +00:00
nebhale
0151e86243 [BATCH-475] Added OSGi manifests 2008-03-20 16:24:02 +00:00
robokaso
6959c40158 IN PROGRESS - issue BATCH-495: readers must not clear buffers on mark()
http://jira.springframework.org/browse/BATCH-495

moved the initial itemHandler.mark() out of the loop
2008-03-20 16:21:18 +00:00
robokaso
4cc2e03fbd RESOLVED - issue BATCH-485: SkippableExceptionClasses should be inverted
http://jira.springframework.org/browse/BATCH-485

SkipLimitStepFactoryBean now declares setter for fatal exceptions that are never skipped and immediately rethrown by exception handlerRESOLVED - issue BATCH-485: SkippableExceptionClasses should be inverted 
http://jira.springframework.org/browse/BATCH-485

SkipLimitStepFactoryBean now declares setter for fatal exceptions that are never skipped and immediately rethrown by exception handler.
LimitCheckingItemSkipPolicy and SimpleLimitExceptionHandler were modified to recognize fatal exceptions.
2008-03-20 10:04:27 +00:00
lucasward
79967e173c BATCH-481: Added documentation for returning ExitCodes 2008-03-20 03:30:06 +00:00
lucasward
10bb0dd1bd BATCH-484: added documentation for ItemTransformerItemWriter, ItemTransformer, and CompsiteItemTransformer. 2008-03-19 23:39:19 +00:00