Commit Graph

1287 Commits

Author SHA1 Message Date
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
lucasward
7f64b5c39e BATCH-484: added documentation for ItemTransformerItemWriter, ItemTransformer, and CompsiteItemTransformer. 2008-03-19 23:39:11 +00:00
dsyer
fc1e7debd9 RESOLVED - issue BATCH-492: CommandLineJobRunner should close the spring context 2008-03-19 14:55:58 +00:00
robokaso
d4710ab1be OPEN - issue BATCH-490: SkipLimitStepFactoryBean ignores the skippableExceptionClasses property
http://jira.springframework.org/browse/BATCH-490

fixed the obvious bug, but found deeper issue (see TODO in tests)
2008-03-19 13:58:52 +00:00
dsyer
f8a74f39ac RESOLVED - issue BATCH-489: undocumented JobExecutionException 2008-03-19 13:44:05 +00:00
robokaso
30d6e80af7 REOPENED - issue BATCH-472: Exceeding the start limit on a step will cause a vague exception type to be thrown.
http://jira.springframework.org/browse/BATCH-472

added throws StartLimitExceedException to SimpleJob#execute(..) javadoc
2008-03-19 12:31:08 +00:00
robokaso
1851025c54 REOPENED - issue BATCH-472: Exceeding the start limit on a step will cause a vague exception type to be thrown.
http://jira.springframework.org/browse/BATCH-472

StartLimitExceededException made public and moved to core package. The constructor changed to simply accept string.
2008-03-19 09:31:10 +00:00
dsyer
16f0b60532 [BATCH-482] Updated site with snapshot plugin (maven-site-plugin). Use -P snapshots for building docos until this is fixed. 2008-03-18 21:40:37 +00:00
lucasward
e5c26328bf BATCH-483: putting null in an ExecutionContext no longer throws an exception. Also added a unit test. 2008-03-18 19:12:36 +00:00
robokaso
94b5615245 IN PROGRESS - issue BATCH-476: samples cleanup
http://jira.springframework.org/browse/BATCH-476

infinite loop replaced with finite but long enough (so that the loop doesn't run forever when test fails)
2008-03-18 14:07:39 +00:00
robokaso
1c6aa3570b IN PROGRESS - issue BATCH-476: samples cleanup
http://jira.springframework.org/browse/BATCH-476

added renamed files to SpringIDE config sets
2008-03-18 13:55:58 +00:00
robokaso
10163ccac5 IN PROGRESS - issue BATCH-476: samples cleanup
http://jira.springframework.org/browse/BATCH-476
2008-03-18 13:49:20 +00:00
robokaso
aa20f82387 IN PROGRESS - issue BATCH-476: samples cleanup
http://jira.springframework.org/browse/BATCH-476
2008-03-18 13:43:36 +00:00
robokaso
49c3a744e0 IN PROGRESS - issue BATCH-476: samples cleanup
http://jira.springframework.org/browse/BATCH-476
2008-03-18 13:26:11 +00:00
robokaso
4a217a0611 IN PROGRESS - issue BATCH-476: samples cleanup
http://jira.springframework.org/browse/BATCH-476
2008-03-18 13:05:09 +00:00
robokaso
331724bf39 IN PROGRESS - issue BATCH-476: samples cleanup
http://jira.springframework.org/browse/BATCH-476
2008-03-18 12:58:22 +00:00
robokaso
3c285c76e7 IN PROGRESS - issue BATCH-476: samples cleanup
http://jira.springframework.org/browse/BATCH-476
2008-03-18 12:47:11 +00:00
robokaso
9d51fffcb0 IN PROGRESS - issue BATCH-476: samples cleanup
http://jira.springframework.org/browse/BATCH-476

removed interrupt advice (to sandbox)
2008-03-18 10:30:15 +00:00
robokaso
9f9d909b5a RESOLVED - issue BATCH-472: Exceeding the start limit on a step will cause a vague exception type to be thrown.
http://jira.springframework.org/browse/BATCH-472

added package-private StartLimitExceededException (subclass of UnexpectedJobExecutionException), that takes Step as constructor argument and creates appropriate message
2008-03-18 09:55:07 +00:00
robokaso
8768f15581 RESOLVED - issue BATCH-479: JobRepositoryFactoryBean should allow specification of JDBC table prefixes
http://jira.springframework.org/browse/BATCH-479

applied patch (with minor tweaks)
2008-03-18 09:19:31 +00:00
dsyer
e13a62f4ff Improve accuracy of home page. 2008-03-17 16:40:05 +00:00
nebhale
2283d6a724 Updated version number for next release 2008-03-17 15:32:04 +00:00