Commit Graph

297 Commits

Author SHA1 Message Date
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
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
10bb0dd1bd BATCH-484: added documentation for ItemTransformerItemWriter, ItemTransformer, and CompsiteItemTransformer. 2008-03-19 23:39:19 +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
nebhale
634119cc8e [maven-release-plugin] prepare for next development iteration 2008-03-17 10:47:46 +00:00
nebhale
4d5bce367e [maven-release-plugin] prepare release spring-batch-1.0.0.rc1 2008-03-17 10:47:25 +00:00
dsyer
2424c0ec39 Review process: Break cycle introduced when RetrySynchManager was moved into support package. 2008-03-14 11:33:18 +00:00
dsyer
07877a9538 Review process: Merge synch packages into support in retry / repeat. 2008-03-14 11:06:32 +00:00
dsyer
044bc4e192 Review process. Consolidated some related support packages in infrastructure. 2008-03-14 10:30:18 +00:00
dsyer
9b1bd77e8a RESOLVED - issue BATCH-457: Error handling broken in SimpleJob
Wrong assertions in tests fixed
2008-03-14 09:20:25 +00:00
dsyer
4fd2968e5e RESOLVED - issue BATCH-457: Error handling broken in SimpleJob
Look out for Error types explicitly and re-throw them without wrapping
2008-03-14 08:53:27 +00:00
lucasward
f9ea48472e BATCH-313 & BATCH-314: Add ExecutionContext section to Chapter 2 and added run tier and job tier sections to Chapter 4. 2008-03-14 05:14:03 +00:00
dsyer
570c04e6f3 Reviewed concurrency in TaskExecutorRepeatTemplate. Removed a blocking call from a constructor, and added some docos. 2008-03-13 14:14:43 +00:00
robokaso
cc39916c19 RESOLVED - issue BATCH-448: StaxEventItemWriter creates invalid xml for zero row documents
http://jira.springframework.org/browse/BATCH-448

added empty character event before writing the end tag manually
2008-03-13 13:21:03 +00:00
nebhale
66b61a78d8 [BATCH-447] Extracted out hard dependency on Backport Concurrent 2008-03-13 11:22:44 +00:00
dsyer
8b0b12c70e RESOLVED - issue BATCH-425: Add documentation for RepeatTemplate
OPEN - issue BATCH-424: Reference Documentation for RetryTemplate
2008-03-13 09:38:19 +00:00
robokaso
da639bdb9f IN PROGRESS - issue BATCH-422: Provide ability to specify exception types as well as skip limit in DefaultStepFactoryBean
http://jira.springframework.org/browse/BATCH-422

Added tests for skip and discovered bug in skip logic (see TODO in SkipLimitStepFactoryBeanTests).
Made DelegatingItemWriter skippable.
2008-03-12 16:42:59 +00:00
robokaso
8fff682219 IN PROGRESS - issue BATCH-422: Provide ability to specify exception types as well as skip limit in DefaultStepFactoryBean
http://jira.springframework.org/browse/BATCH-422

The desired functionality should now be there, but needs better tests
2008-03-12 13:43:39 +00:00
robokaso
486cc0f41e RESOLVED - issue BATCH-444: Remove null check from ExecutionContext#putString
http://jira.springframework.org/browse/BATCH-444
2008-03-12 09:37:31 +00:00
nebhale
7cc07ab640 [BATCH-271] Made optional the proper Spring Framework dependencies 2008-03-11 14:06:27 +00:00
nebhale
9f7cc87c0d [BATCH-383] Fixes to make Spring Batch 1.4 runtime compliant. 2008-03-11 13:49:17 +00:00
lucasward
32e25b081c BATCH-316: Finished the 'readers and writers' chapter (chapter 3) 2008-03-11 08:35:30 +00:00
lucasward
96343035ef BATCH-316: Continued work on the Jdbc ItemReader documentation. Mostly additions to the DrivingQuery section. 2008-03-10 21:31:16 +00:00