Commit Graph

367 Commits

Author SHA1 Message Date
robokaso
b2e66532f9 RESOLVED - BATCH-703: JdbcJobInstanceDao doesn't locate JOB_INSTANCE on Oracle where JOB_KEY is empty
applied patch
2008-07-03 07:16:56 +00:00
dsyer
e79543b72d RESOLVED - issue BATCH-706: Commit exception is lost if update fails as well
Check to see if commit already failed before storing exception.  Also ensure that step starts continuable, and only hits UNKNOWN if a commit failure occurs
2008-07-02 16:45:21 +00:00
robokaso
fa54917a0a RESOLVED - BATCH-699: Document thread safety
Added javadoc mostly to ItemReaders and ItemWriters adn fixed the misleading javadoc of ItemReader interface.
2008-07-02 11:11:16 +00:00
robokaso
566fc6e5fc RESOLVED - BATCH-414: consistent handling of empty input by ItemReaders
renamed NoWorkFoundListener to NoWorkFoundStepExecutionListener
2008-07-01 08:38:59 +00:00
robokaso
a35ad43fe7 RESOLVED - BATCH-414: consistent handling of empty input by ItemReaders
renamed listener + reused NoWorkFoundException
2008-06-30 08:16:52 +00:00
dsyer
cd60d0de73 RESOLVED - issue BATCH-328: create schema generator configurations for MS SQL, Sybase 2008-06-29 08:02:43 +00:00
dsyer
f4274270e7 BATCH-328: applied patch 2008-06-29 07:52:23 +00:00
robokaso
9836517013 RESOLVED - BATCH-414: consistent handling of empty input by ItemReaders
added StepListener that detects itemCount == 0 and throws exception
2008-06-27 12:22:57 +00:00
dsyer
2dfcaf6ce0 BATCH-280: Applied patch (modified file names slightly) 2008-06-26 18:27:48 +00:00
dsyer
a78a09c55e Update home page and clearer Javadocs for CommandLineJobRunner.java 2008-06-26 15:15:15 +00:00
dsyer
4e247e7577 RESOLVED - issue BATCH-576: The database schema for db2 is incorrect, the constraint name is too long 2008-06-26 06:20:20 +00:00
dsyer
02d3c5756b Some bizarre classpath issues in Eclipse - moved data-source config out of default package except for samples. Also separated hibernate config from rest of samples. 2008-06-24 15:58:41 +00:00
dsyer
80b4386c1b Upgrade to Spring 2.5.5 2008-06-24 13:40:42 +00:00
robokaso
f44e463af3 IN PROGRESS - BATCH-570: Job.getSteps() does not need to be exposed in the interface
added deprecations
2008-06-24 08:15:43 +00:00
dsyer
fd07883253 RESOLVED - issue BATCH-554: *StepFactoryBeans should have a list of exceptions that do and don't cause rollback.
Removed the list of exceptions in favour of tx attributes (use +ExceptionType in config file)
2008-06-23 13:06:07 +00:00
dsyer
991334e221 RESOLVED - issue BATCH-683: Lack of parallel support in SimpleStepFactoryBean 2008-06-23 10:56:07 +00:00
dsyer
a078199eae RESOLVED - issue BATCH-680: Allow override of Transaction Definition in get transaction in Item Oriented Step
Added transactionAttribute to ItemOrientedStep and the factory bean
2008-06-21 09:44:40 +00:00
dsyer
345e7a4b81 RESOLVED - issue BATCH-654: Transactions when commit fails 2008-06-18 10:24:18 +00:00
dsyer
ab7e4f814f Re-order status update and listener execution 2008-06-13 10:21:28 +00:00
robokaso
125d245d95 RESOLVED - BATCH-666: consolidate duplications in SimpleStepFactoryBean and RepeatOperationsStepFactoryBean
pulled up listeners
2008-06-13 09:47:34 +00:00
robokaso
567fc74779 IN PROGRESS - BATCH-666: consolidate duplications in SimpleStepFactoryBean and RepeatOperationsStepFactoryBean
BatchListenerFactoryHelper refactored as utility class - methods declared static and the class abstract
2008-06-13 09:34:10 +00:00
robokaso
d4a1e23b7e IN PROGRESS - BATCH-666: consolidate duplications in SimpleStepFactoryBean and RepeatOperationsStepFactoryBean
pulled up reader & writer registration
2008-06-13 09:10:21 +00:00
robokaso
09d681c8dc IN PROGRESS - BATCH-666: consolidate duplications in SimpleStepFactoryBean and RepeatOperationsStepFactoryBean
pulled up streams config
2008-06-13 09:04:33 +00:00
robokaso
446f55072d RESOLVED - BATCH-665: ChunkListeners are registered on stepOperations in RepeatOperationsStepFactoryBean - should be chunkOperations 2008-06-12 08:34:30 +00:00
robokaso
722c5c1f0d RESOLVED - BATCH-661: broken job interruption logic
SimpleJob now checks for interrupt before starting a step
2008-06-12 08:21:07 +00:00
robokaso
40594d75e7 RESOLVED - BATCH-660: SimpleStepFactoryBean#setExceptionHandler() not working 2008-06-11 08:51:45 +00:00
robokaso
83e3e48762 RESOLVED - BATCH-623: StatefulRetryStepFactoryBean causes item count to be lost in database 2008-06-10 08:19:37 +00:00
robokaso
c5992c9833 RESOLVED - BATCH-638: ItemSkipPolicyItemHandler does not count items
moved item counting in SimpleItemHandler from write(..) into handle(..) method so that it isn't overriden in subclasses + tests
2008-06-10 08:11:57 +00:00
robokaso
607865e931 minor code cleanup 2008-06-09 13:23:20 +00:00
robokaso
9eb654c790 RESOLVED - BATCH-643: Create database type of 'map' in JobRepositoryFactoryBean
created separate factory bean for repository with map daos
2008-06-09 10:51:11 +00:00
robokaso
ab4bdb1f76 removed commented junk code 2008-06-06 14:18:12 +00:00
robokaso
c2c33fc00b OPEN - BATCH-654: Transactions when commit fails
reverted the previous solution, it wouldn't really help
2008-06-06 14:06:38 +00:00
robokaso
143b1e6be0 MapStepExecutionDao was clearing only one (of two) maps on clear() 2008-06-06 13:18:26 +00:00
robokaso
61c21ed663 RESOLVED - BATCH-654: Transactions when commit fails
ItemOrientedStep now detects failed commit and dies asap instead of trying to rollback
2008-06-06 12:49:32 +00:00
dsyer
a55e488c14 RESOLVED - issue BATCH-572: Retryable exceptions cannot be skippable
* Deprecated StatefulRetryStepFactoryBean
* Added generic cache limit property to SkipLimitStepFactoryBean (replacing skipCacheLimit)
* Testing
2008-06-05 11:53:36 +00:00
dsyer
c21032332b RESOLVED - issue BATCH-541: pull commit interval from the job parameters
Added StepExecutionSimpleCompletionPolicy (a la StepExecution*) as s one-off solution to the commit interval problem initially posed
2008-06-04 11:55:22 +00:00
dsyer
90465f9ce0 OPEN - issue BATCH-541: pull commit interval from the job parameters
Move ClassPathXmlApplicationContextJobFactory implementation from samples to core.
2008-06-02 13:14:58 +00:00
robokaso
e64c3cdf1f IN PROGRESS - BATCH-505: Job-level ExecutionContext
added volatile declarations for executionContext and stepExecutions properties
2008-06-02 12:06:17 +00:00
robokaso
01c70eaff7 IN PROGRESS - BATCH-505: Job-level ExecutionContext
added javadoc for JdbcExecutionContextDao
2008-06-02 11:18:24 +00:00
robokaso
5d83928977 IN PROGRESS - BATCH-505: Job-level ExecutionContext
Added createTime to JobExecution and made startTime nullable again
2008-06-02 10:50:39 +00:00
dsyer
78c4e34b98 RESOLVED - issue BATCH-646: Step/Job Execution DAO's EXIT_MESSAGE_LENGTH change to configurable 2008-05-30 08:50:48 +00:00
dsyer
8e25342701 RESOLVED - issue BATCH-466: Allow configurable ordering of Step/JobListeners 2008-05-29 14:10:51 +00:00
dsyer
4804e7f375 Fixed spelling error (write=read!) 2008-05-27 20:53:50 +00:00
dsyer
ee86b18a31 BATCH-503: need spring-aop 2008-05-26 12:29:58 +00:00
dsyer
7025ff4831 RESOLVED - issue BATCH-503: Not applying declarative transactions around repository causes unstable execution 2008-05-26 12:16:05 +00:00
dsyer
c316f7aea4 Spelling error in test method name 2008-05-23 14:22:06 +00:00
robokaso
64dbeac93f IN PROGRESS - BATCH-505: Job-level ExecutionContext
repository now restores saved job context during JobExecution creation
2008-05-23 12:59:51 +00:00
dsyer
937e898d24 IN PROGRESS - issue BATCH-572: Retryable exceptions cannot be skippable
StatefulRetryStepFactoryBean functionality all moved into SkipLimitStepFactoryBean (the former should be removed). TODO: take some more care with exception types that overlap between retry / skip.
2008-05-23 12:36:46 +00:00
robokaso
fd6fad60dc IN PROGRESS - BATCH-505: Job-level ExecutionContext
JobExecutionContext is now persisted (together with StepExecutionContext) and retrieved on restart
(changed jobExecution's start time to be not null so that last execution can be always found).
2008-05-23 10:26:29 +00:00
dsyer
42d672d401 IN PROGRESS - issue BATCH-572: Retryable exceptions cannot be skippable
Modified StatefulRetryStepFactoryBean to use skip listener instead of ItemRecoverer.
2008-05-22 16:12:08 +00:00