Commit Graph

4883 Commits

Author SHA1 Message Date
dsyer
895174af6c Change URL in Changelog link. 2007-12-04 09:26:48 +00:00
dsyer
f4504b070e IN PROGRESS - issue BATCH-244: Repeated processing of items does not work
http://opensource.atlassian.com/projects/spring/browse/BATCH-244

Fixed bug in ResourceLinereader that causes first chunk to be lost if it fails.
2007-12-04 09:15:21 +00:00
dsyer
42a0c6e25f RESOLVED - issue BATCH-245: make BeanRefContext.xml location configurable
http://opensource.atlassian.com/projects/spring/browse/BATCH-245
2007-12-04 07:40:13 +00:00
nebhale
246e952dde [BATCH-235] Created a parent POM to remove cycle in assembly creation 2007-12-03 15:55:28 +00:00
nebhale
83864542d3 [BATCH-235] Added Assembly Descriptors. Still need to add the lifecycle that creates and uploads them. 2007-12-03 14:00:36 +00:00
nebhale
f322df4308 [BUILD-235] Fixed build break by properly identifying sample dependencies. 2007-11-30 15:34:49 +00:00
nebhale
a55a7c5c43 [BATCH-235] Added spring-core to build. 2007-11-30 14:50:52 +00:00
dsyer
933b4750aa CLOSED - issue BATCH-237: HibernateAwareItemWriter should clear session after flushing
http://opensource.atlassian.com/projects/spring/browse/BATCH-237

Added clear() after flush (and test case)
2007-11-30 13:57:22 +00:00
nebhale
d3b1a7abbe [BATCH-235] Remove test restriction on dependency 2007-11-30 12:59:10 +00:00
nebhale
116d6e7416 [BATCH-235] Updating the POMs to use the modular spring jars. Also a little polishing of the launch profiles. 2007-11-30 12:24:10 +00:00
dsyer
7d8abccc0e IN PROGRESS - issue BATCH-241: Support for JobLauncher.stop() on job that hasn't started yet (delayed execution)
http://opensource.atlassian.com/projects/spring/browse/BATCH-241

Added some more internal bookkeeping in the JobLauncher so that it can recognise a job that it was asked to start, but hasn't been executed by the task executor yet.  A side effect is that the JobExecution for such a job is never updated, so I'll keep this issue open until that is also fixed.
2007-11-30 12:11:47 +00:00
dsyer
42a8a78259 RESOLVED - issue BATCH-153: skipLimit property of AbstractStepConfiguration seems to be unused
http://opensource.atlassian.com/projects/spring/browse/BATCH-153

Use skip limit to construct a SimpleLimitExceptionHandler.
2007-11-30 09:54:34 +00:00
nebhale
564b096cd2 A little Spring cleaning. Get it? 2007-11-30 09:35:25 +00:00
dsyer
0e24dd5e5d IN PROGRESS - BATCH-127: Allow job configuration to control re-entrant behavior
http://opensource.atlassian.com/projects/spring/browse/BATCH-127

Added additional exception to signature of JobRepository.findOrCreate().
2007-11-30 09:21:36 +00:00
dsyer
eebb1fd9fb RESOLVED - issue BATCH-218: StepConfiguration and JobConfiguration should not be BeanNameAware
http://opensource.atlassian.com/projects/spring/browse/BATCH-218
2007-11-30 09:15:37 +00:00
dsyer
9de2e3e11d RESOLVED - issue BATCH-239: BatchCommandLineLauncher default bean reference does not match the one in samples 2007-11-29 18:40:16 +00:00
nebhale
bdb199760e JobInstance now creates JobExecutions instead of letting someone else. 2007-11-27 09:32:38 +00:00
dsyer
17cead220c Fixed broken build - new method on StepExecutor in test cases 2007-11-23 15:57:05 +00:00
dsyer
44463f393a RESOLVED - issue BATCH-199: ExceptionHandler in SImpleStepConfiguration ignored by SimpleStepConfigurationFactory
http://opensource.atlassian.com/projects/spring/browse/BATCH-199

Moved ExecptionHandler to the step operations.

It seemed to me that the responsibility for doing this should be encapsulated in the StepExecutor - also prevents a nasty package cycle.  The only way to do this and keep everyone honest was to add an applyConfiguration() method to the StepExecutor interface.  I am open to suggestion about how to do this more cleanly, but for now that is probably enough.
2007-11-23 15:45:00 +00:00
dsyer
9453360c4a Screwed up class name for constants... 2007-11-23 08:50:23 +00:00
dsyer
78963fb2a3 RESOLVED - issue BATCH-194: Incorrect exception handling when using Hibernate
http://opensource.atlassian.com/projects/spring/browse/BATCH-194

Created HibernateAwareItemWriter to abstract the flushing concerns into a framework class - to use it you have to register it with the chunkOperations as an interceptor *and* inject it with an ItemWriter for the step concerned.  There might be an AOP approach to this that would reduce the burden of having to confugure it - we can look into that as part of the namespace / DSL work.  See hibernateJob.xml for sample.
2007-11-23 08:43:14 +00:00
dsyer
9603dcbd0c remove unused packages 2007-11-22 17:57:49 +00:00
dsyer
665e0e47de remove unused packages 2007-11-22 17:57:09 +00:00
dsyer
9d825c5881 IN PROGRESS - issue BATCH-194: Incorrect exception handling when using Hibernate
http://opensource.atlassian.com/projects/spring/browse/BATCH-194

Added Skippable capabilities to HibernateCursorInputSource.
2007-11-22 17:36:46 +00:00
dsyer
3915aeb1e9 IN PROGRESS - issue BATCH-194: Incorrect exception handling when using Hibernate
http://opensource.atlassian.com/projects/spring/browse/BATCH-194

Implemented a pretty good workaround in HibernateCreditWriter, which can probably be tightened up and made into a base class HibernateItemWriter.  Also had to make HibernateCursorInputSource Skippable (and it isn't yet Restartable so it's kind of broken - work in progress).  Plus the samples were configured to use SimpleStepExecutor which doesn't skip by default (makes me wonder if the restart sample actually does anything sensible).
2007-11-22 13:51:53 +00:00
dsyer
d7744aafb8 IN PROGRESS - issue BATCH-194: Incorrect exception handling when using Hibernate
http://opensource.atlassian.com/projects/spring/browse/BATCH-194

Added step operations to RepeatContextHolder (and changed name of implementation so it isn't tied to chunks).  This was needed anyway, otherwise you can't control the exception handling in the step operations properly.
2007-11-22 09:54:44 +00:00
dsyer
ad85f55175 RESOLVED - issue BATCH-211: Specify column names in flat file on first line
http://opensource.atlassian.com/projects/spring/browse/BATCH-211

Patch applied with some modifications.
2007-11-22 07:57:30 +00:00
dsyer
1176fa912d Correct Javadocs after BATCH-201 was fixed. 2007-11-21 14:18:13 +00:00
dsyer
c3bf46f098 replace missing DDL (Subclipse again) 2007-11-21 12:52:42 +00:00
dsyer
761a89b3eb RESOLVED - issue BATCH-207: exit_message too short for holding long exceptions
http://opensource.atlassian.com/projects/spring/browse/BATCH-207

JOB_KEY needed to be extended as well (not truncated as yet - just made more space in DDL).
2007-11-21 12:51:08 +00:00
dsyer
edff6be9b3 OPEN - issue BATCH-207: exit_message too short for holding long exceptions
http://opensource.atlassian.com/projects/spring/browse/BATCH-207

Added onFlushDirty to the entity interceptor in hibernate (and changed its name so not specific to entity name - BatchHibernateInterceptor).  Also truncating in Sql*Dao.  Only exit description is given special treatment for now, and the length is fixed at 250 - hard-coded and tightly coupled with the hibernate mapping and DDL).  Should be good enough for most scenarios.
2007-11-21 12:34:57 +00:00
dsyer
6d6b8a3005 OPEN - issue BATCH-209: standard session option for HibernateCursorInputSource
http://opensource.atlassian.com/projects/spring/browse/BATCH-209

Applied patch from Robert.
2007-11-21 10:47:39 +00:00
dsyer
92cb2ab13b IN PROGRESS - issue BATCH-213: Rename OutputSource as ItemWriter
http://opensource.atlassian.com/projects/spring/browse/BATCH-213

Fix refactoring error (wrong method name)
2007-11-21 09:35:43 +00:00
dsyer
9606aabfb6 IN PROGRESS - issue BATCH-213: Rename OutputSource as ItemWriter
http://opensource.atlassian.com/projects/spring/browse/BATCH-213

More fields
2007-11-21 09:29:41 +00:00
dsyer
2684713ced IN PROGRESS - issue BATCH-213: Rename OutputSource as ItemWriter
http://opensource.atlassian.com/projects/spring/browse/BATCH-213

Field references
2007-11-21 09:29:00 +00:00
dsyer
4a2b7c6019 IN PROGRESS - issue BATCH-213: Rename OutputSource as ItemWriter
http://opensource.atlassian.com/projects/spring/browse/BATCH-213

Javadocs updated.
2007-11-21 09:18:44 +00:00
dsyer
c8771756f7 Clean up after Subclipse on last commit 2007-11-21 09:09:07 +00:00
dsyer
5bc423461d IN PROGRESS - issue BATCH-213: Rename OutputSource as ItemWriter
http://opensource.atlassian.com/projects/spring/browse/BATCH-213

Renamed the classes and interfaces.
2007-11-21 09:07:36 +00:00
dsyer
1badc11b97 Add press articles to website 2007-11-21 08:47:21 +00:00
dsyer
83ea77d669 update description of statistics (http://forum.springframework.org/showthread.php?t=46482). 2007-11-21 08:33:59 +00:00
dsyer
70571b1ec3 RESOLVED - issue BATCH-201: Move responsibility for deciding if an exception terminates a batch to ExceptionHandler
http://opensource.atlassian.com/projects/spring/browse/BATCH-201

Change RepeatInterceptor as well to use ExitStatus instead of Object
2007-11-20 19:24:45 +00:00
dsyer
85ced3551d IN PROGRESS - issue BATCH-201: Move responsibility for deciding if an exception terminates a batch to ExceptionHandler
http://opensource.atlassian.com/projects/spring/browse/BATCH-201

Use ExitStatus instead of Object in CompletionPolicy.
2007-11-20 19:19:08 +00:00
dsyer
419863a71e Add extra compile time dependencies 2007-11-20 18:58:42 +00:00
dsyer
07be8cf6d8 IN PROGRESS - issue BATCH-201: Move responsibility for deciding if an exception terminates a batch to ExceptionHandler
http://opensource.atlassian.com/projects/spring/browse/BATCH-201

Nearly finished - ExceptionHandler is the owner of abnormal termination.
2007-11-20 18:55:15 +00:00
dsyer
2b175e21e7 RESOLVED - issue BATCH-205: support for processing chain
http://opensource.atlassian.com/projects/spring/browse/BATCH-205

Patch applied.
2007-11-20 11:04:23 +00:00
dsyer
33371c51cc Javadocs 2007-11-20 09:00:24 +00:00
dsyer
2ca2d7a60c RESOLVED - issue BATCH-165: delegating ItemProvider and ItemProcessor
http://opensource.atlassian.com/projects/spring/browse/BATCH-165

Patch applied from JIRA.
2007-11-14 16:11:42 +00:00
dsyer
40d75b07e1 Fix build broken by jobs not being unique - so the order is important. 2007-11-14 10:50:20 +00:00
dsyer
7fb22cec72 OPEN - issue BATCH-194: Incorrect exception handling when using Hibernate
http://opensource.atlassian.com/projects/spring/browse/BATCH-194

Added some extra features to the HibernateCreditWriter sample - it needs to be a RepeatInterceptor (as per Joris's solution in BATCH-76) so it can force a flush inside the RepeatContext of the chunk.
2007-11-14 09:22:14 +00:00
dsyer
1c95e5a625 RESOLVED - issue BATCH-203: HibernateDao incorrectly returns an existing job.
http://opensource.atlassian.com/projects/spring/browse/BATCH-203
2007-11-14 08:49:48 +00:00