Commit Graph

1857 Commits

Author SHA1 Message Date
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
robokaso
4f74d0c9f7 RESOLVED - issue BATCH-527: StepExecutionResourceProxy toString() should delegate to delegate.toString() 2008-03-31 14:05:03 +00:00
robokaso
4f0cb707cb RESOLVED - issue BATCH-528: Inserting non-date JobParameter fails on MySQL
TIMESTAMP externalized as property with DATETIME value for MySQL
2008-03-31 13:43:48 +00:00
robokaso
973e146aa3 RESOLVED - issue BATCH-533: prefix in the JobRepositoryFactoryBean does not apply to the sequences 2008-03-31 12:52:44 +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
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
lucasward
c736462553 Reverted back to original prepared statement setter. The ExecutionContext wasn't doing much good in it, since other database reader changes weren't committed. However, being able to set the JobParameters still provides value for the cursor item reader. 2008-03-28 05:32:08 +00:00
dsyer
9007a61f5e RESOLVED - issue BATCH-486: Users must choose between skip and retry
Remove duplicate key generator property from factory beans.
2008-03-27 17:30:24 +00:00
dsyer
e4c3048414 RESOLVED - issue BATCH-486: Users must choose between skip and retry
Used inheritance to mix retry and skip in a factory bean.
2008-03-27 17:23:36 +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
dsyer
d983eba1c5 RESOLVED - issue BATCH-511: read failures cause rollback
Renamed "commit*" in StepContribution to "combine*".  Fixed broken test (forgot to combine skip counts).
2008-03-27 10:48:04 +00:00
dsyer
e46c972d8e REOPENED - issue BATCH-511: read failures cause rollback 2008-03-27 10:30:06 +00:00
robokaso
419fa9794d javadoc typo corrected 2008-03-27 10:02:50 +00:00
dsyer
914b9f2bed REOPENED - issue BATCH-511: read failures cause rollback
Add SkipLimitExceededException to the list of fatal exceptions for the step exception handler
2008-03-27 06:41:37 +00:00
lucasward
b876649cb9 BATCH-514:Additional small refactorings on Jdbc readers. 2008-03-27 04:37:58 +00:00
dsyer
2faea9d266 rename synchronizer with wrong spelling 2008-03-26 19:57:01 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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