Commit Graph

2023 Commits

Author SHA1 Message Date
dsyer
be0432a754 OPEN - issue BATCH-771: Refactor Listeners for chunk changes
Make ItemWriteListener match ItemWriter (generic list as argument).
2008-08-26 15:21:15 +00:00
dsyer
a0ea47ce63 OPEN - issue BATCH-771: Refactor Listeners for chunk changes
Move write listener into step handler
2008-08-26 11:35:59 +00:00
dsyer
207e882e37 OPEN - issue BATCH-791: Ditch Tasklet (StepHandler is more flexible)
Done.  Use StepHandler instead.
2008-08-26 09:15:13 +00:00
dsyer
0111123bb7 OPEN - issue BATCH-777: Parametrise RetryCallback and related interfaces
Left a TODO.
2008-08-26 07:47:00 +00:00
dsyer
ca735a43b2 OPEN - issue BATCH-777: Parametrise RetryCallback and related interfaces
Revert RetryPolicy.close() to its former signature
2008-08-26 07:42:43 +00:00
dsyer
99f3bd4c6b OPEN - issue BATCH-777: Parametrise RetryCallback and related interfaces
Remove unused Exception throws clauses
2008-08-26 07:10:43 +00:00
dsyer
c0c8fa111b OPEN - issue BATCH-777: Parametrise RetryCallback and related interfaces
Rationalise JmsItemReader
2008-08-26 07:02:39 +00:00
dsyer
e504a887af Fix Javadocs 2008-08-26 06:27:04 +00:00
trisberg
4e39831c82 BATCH-760: added remaining database specific implementations and a delegating implementation that uses database metadata to determine which implementation to delegate to 2008-08-26 05:16:58 +00:00
lucasward
9798bfefe1 BATCH-453:Missed reverting the execution context template as well. 2008-08-26 04:06:37 +00:00
lucasward
f81604e439 BATCH-453: Added stop support to SimpleJobOperator and generated correct sql for remaining schema files. 2008-08-26 03:53:41 +00:00
trisberg
c0c8331227 BATCH-760: refactoring, moving SQL snippets to PagingQueryProvider implementations, adding some database specific implementations (more to come) 2008-08-25 19:28:57 +00:00
dsyer
d41464c176 OPEN - issue BATCH-777: Parametrise RetryCallback and related interfaces
Move key generator and item identifier to retry interceptor package
2008-08-25 16:08:19 +00:00
dsyer
6e36093b2e OPEN - issue BATCH-777: Parametrise RetryCallback and related interfaces
RetryCallback and RecoveryCallback done
2008-08-25 14:06:57 +00:00
dsyer
919e9b5489 OPEN - issue BATCH-777: Parametrise RetryCallback and related interfaces
Missed commit
2008-08-25 12:32:11 +00:00
dsyer
d79e1b8542 OPEN - issue BATCH-777: Parametrise RetryCallback and related interfaces
Simplify RetryPolicy interface now that they are all stateless
2008-08-25 12:23:58 +00:00
dsyer
1da437fb00 OPEN - issue BATCH-777: Parametrise RetryCallback and related interfaces
Fixed use of state in stateless retry
2008-08-25 12:08:44 +00:00
dsyer
193f63a24a OPEN - issue BATCH-777: Parametrise RetryCallback and related interfaces
Make stateful retry explicit in the RepeatOperations interface instead of hidden in a RetryPolicy
2008-08-25 12:00:42 +00:00
dsyer
be03c892e3 OPEN - issue BATCH-777: Parametrise RetryCallback and related interfaces
Extend RetryOperations to include recovery case
2008-08-24 18:13:38 +00:00
dsyer
05015c598d OPEN - issue BATCH-777: Parametrise RetryCallback and related interfaces
Downgrade throws clause in RetryCallback - it's not reasonable to retry arbitrary Throwable
2008-08-24 11:44:50 +00:00
dsyer
edd3f47be3 OPEN - issue BATCH-771: Refactor Listeners for chunk changes
Add experiments in stateless retry and chunk processing
2008-08-23 17:14:53 +00:00
dsyer
f1e1ac757f Javadocs 2008-08-23 13:47:58 +00:00
dsyer
c2e3331442 Finish tidy up parameterisation of exception handler 2008-08-23 13:35:36 +00:00
dsyer
8e498f0d52 Improve parameterisation of exception handler 2008-08-23 13:22:35 +00:00
dsyer
c3ed34b3a8 OPEN - issue BATCH-771: Refactor Listeners for chunk changes
Lift Chunk up to top level and use it to manage the skip / retry logic.  Not finished.
2008-08-23 11:22:01 +00:00
lucasward
3b2df1ea0d IN PROGRESS - issue BATCH-453: Killed batches cannot be restarted
http://jira.springframework.org/browse/BATCH-453

Added a new sample job: DatabaseShutdownFunctionalTests that uses the database to detect a stopped job.
2008-08-22 21:45:02 +00:00
lucasward
3815c3e4cb IN PROGRESS - issue BATCH-453: Killed batches cannot be restarted
http://jira.springframework.org/browse/BATCH-453

JobExecution now stores last updated time as well.
2008-08-22 21:26:50 +00:00
trisberg
ecc19e96ff BATCH-760: added a JdbcPagingQueryProvider abstraction and an SQL:2003 windowing functions implementation 2008-08-22 19:51:56 +00:00
dsyer
fac1c2b22b Retry policy needed to know if the callback was successful. 2008-08-22 14:31:10 +00:00
dsyer
d270ac3345 OPEN - issue BATCH-771: Refactor Listeners for chunk changes
Remove unused methods from StepExecution
2008-08-22 09:26:01 +00:00
dsyer
90be802313 OPEN - issue BATCH-771: Refactor Listeners for chunk changes
Make sure commit count is updated
2008-08-22 09:23:38 +00:00
dsyer
c208014073 OPEN - issue BATCH-771: Refactor Listeners for chunk changes
Change step handler to not process items again if already completed
2008-08-22 09:07:15 +00:00
lucasward
6c76c7ae6d IN PROGRESS - issue BATCH-453: Killed batches cannot be restarted
http://jira.springframework.org/browse/BATCH-453

Fixed broken test.
2008-08-22 03:15:27 +00:00
lucasward
838bae2c25 IN PROGRESS - issue BATCH-453: Killed batches cannot be restarted
http://jira.springframework.org/browse/BATCH-453

Updated SimpleJobRepository to check if JobExecution status has been set to 'STOPPING' in the database.
2008-08-22 03:06:13 +00:00
trisberg
632f61987a BATCH-760: fixed some Oracle issues - now works for HSQL, MySQL and Oracle, need to test other platforms 2008-08-21 17:18:29 +00:00
dsyer
842907337f OPEN - issue BATCH-771: Refactor Listeners for chunk changes
Add attribute accessor for synchronizing unfinished work between transactions
2008-08-21 17:13:51 +00:00
dsyer
6040e8aa69 Fix @Override (Java 6) 2008-08-21 16:18:55 +00:00
dsyer
b190b09e98 OPEN - issue BATCH-771: Refactor Listeners for chunk changes
Ensure non-skippabe exceptions cause re-throw on write
2008-08-21 14:27:35 +00:00
dsyer
a1030c2609 RESOLVED - issue BATCH-789: Remove mark/reset from ItemReader
Removed unneeded exception classes
2008-08-21 12:50:11 +00:00
trisberg
c52b277358 cleanup 2008-08-21 12:30:46 +00:00
trisberg
0e8c26e943 BATCH-760: first cut of JdbcPagingItemReader - works for HSQL, need to test other platforms 2008-08-21 12:30:15 +00:00
trisberg
317f40ad84 BATCH-790: added toString() to discriminator when used for bind variables 2008-08-21 12:17:47 +00:00
dsyer
fcf96a954f RESOLVED - issue BATCH-789: Remove mark/reset from ItemReader
Remove AbstractItemReader.  All done (with remaining issues moved to BATCH-220).
2008-08-21 12:11:22 +00:00
dsyer
300e726909 OPEN - issue BATCH-789: Remove mark/reset from ItemReader 2008-08-21 11:38:00 +00:00
dsyer
e1d1413cc3 OPEN - issue BATCH-789: Remove mark/reset from ItemReader
Removed all code from mark() and reset() implementations
2008-08-21 11:03:44 +00:00
dsyer
04db13bbc4 OPEN - issue BATCH-789: Remove mark/reset from ItemReader
Still some open issues with retry and skip, but nearly there...
2008-08-21 09:58:04 +00:00
lucasward
24168016af IN PROGRESS - issue BATCH-453: Killed batches cannot be restarted
http://jira.springframework.org/browse/BATCH-453

Updated the SimpleJobRepository to set the last updated time on the StepExecution before adding or updating a StepExecution.
2008-08-21 05:29:31 +00:00
lucasward
f0b1643c02 IN PROGRESS - issue BATCH-453: Killed batches cannot be restarted
http://jira.springframework.org/browse/BATCH-453

The JdbcStepExecutionDao now stores the lastUpdated property of StepExecution into the StepExecution table.
2008-08-20 21:30:44 +00:00
dsyer
ef4f2900cc OPEN - issue BATCH-789: Remove mark/reset from ItemReader
Shift chunk iteration into StepHandler - had to sacrifice interrupted check inside chunk
2008-08-20 15:24:05 +00:00
dsyer
dbc24626f3 OPEN - issue BATCH-789: Remove mark/reset from ItemReader
Deprecate methods
2008-08-20 12:32:59 +00:00