Commit Graph

54 Commits

Author SHA1 Message Date
dsyer
15cffeb925 IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Lazy-initialisation solution to the "who's in step scope" issue
2008-01-31 09:54:38 +00:00
dsyer
9d1ebb42c7 IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Remove ResourceLifecycle and make existing implementations into ItemStream
2008-01-31 00:44:50 +00:00
dsyer
bebab9c8d2 IN PROGRESS - issue BATCH-7: Remove transaction synchronization and state management from input/output sources (formerly buffering)
http://jira.springframework.org/browse/BATCH-7

Added ItemStream as base interface for ItemReader/Writer.
2008-01-30 18:42:48 +00:00
dsyer
911e368a71 OPEN - issue BATCH-324: Step as factory for StepExecutor
http://jira.springframework.org/browse/BATCH-324

Same treatment for JobExecutor - roll it up into the Job interface
2008-01-29 18:07:57 +00:00
lucasward
3d7f40ca90 BATCH-325:Added close() to readers and writers. 2008-01-29 17:15:49 +00:00
dsyer
f9619e345e OPEN - issue BATCH-324: Step as factory for StepExecutor
http://jira.springframework.org/browse/BATCH-324

Substantial re-org of core domain packages to align concerns
2008-01-29 16:36:16 +00:00
dsyer
4da4c073d5 OPEN - issue BATCH-324: Step as factory for StepExecutor
http://jira.springframework.org/browse/BATCH-324

First pass - added factory method, resolved conflicts and cycles, got tests working.
2008-01-29 15:07:53 +00:00
dsyer
75c8f9b5c1 OPEN - issue BATCH-320: Refactor ItemWriter as primary collaborator (with wrapper for processor)
http://jira.springframework.org/browse/BATCH-320

Another package rename.
2008-01-29 10:44:18 +00:00
dsyer
a98f0e566c OPEN - issue BATCH-320: Refactor ItemWriter as primary collaborator (with wrapper for processor)
http://jira.springframework.org/browse/BATCH-320

Compiler warnings.
2008-01-29 09:25:01 +00:00
dsyer
63594415ca Purge ItemProcessor 2008-01-29 09:13:47 +00:00
dsyer
0e27ea6660 OPEN - issue BATCH-320: Refactor ItemWriter as primary collaborator (with wrapper for processor)
http://jira.springframework.org/browse/BATCH-320

Half way there - tests OK, but some naming and tidying up to do.
2008-01-28 22:37:46 +00:00
lucasward
f092cb8a99 added a BatchResourceFactoryBean to fixedlengthImportJob and fixed a repository error it illuminated. 2008-01-28 15:41:43 +00:00
dsyer
fd012bd49c Resolved some TODOs. 2008-01-28 13:56:48 +00:00
dsyer
00ca5ce850 RESOLVED - issue BATCH-88: StatisticsProvider is a leaky abstraction
http://jira.springframework.org/browse/BATCH-88
2008-01-24 16:22:56 +00:00
dsyer
227be94c1c Complete - task 69: Fix Hibernate samples
duplicate job name!
2008-01-24 10:56:25 +00:00
dsyer
09fc32c4b9 OPEN - issue BATCH-304: BatchCommandLineLauncher simplified and rename
http://jira.springframework.org/browse/BATCH-304

Nuke JobIdentifier
2008-01-24 08:47:16 +00:00
dsyer
5a8635a32e OPEN - issue BATCH-304: BatchCommandLineLauncher simplified and rename
http://jira.springframework.org/browse/BATCH-304

First part of JobParameters and retirement of JobIdentifier.  Tests are borken, but not by these changes so I figure I have to get them in!
2008-01-24 08:07:20 +00:00
dsyer
6f762fae5d Remove some System.err 2008-01-23 16:42:16 +00:00
dsyer
f7d53868ce Use interface instead of impl for item reader in unit test in case AOP interceptor breaks autowiring. 2008-01-23 16:40:54 +00:00
lucasward
24fd1d8002 Fixed HibernateFailureJob, which wasn't validating it's preconditions, causing a nullpointerexception 2008-01-23 13:34:22 +00:00
dsyer
c67607084d Tidy up build problems overnight. 2008-01-23 09:13:16 +00:00
lucasward
2e68e82e84 BATCH-295: JobLauncher now only contains one method: run(Job, JobInstanceProperties). Misc. other changes were made to facilitate. 2008-01-22 23:39:41 +00:00
dsyer
eeddeff59b OPEN - issue BATCH-303: Replace repeat contexts in core domain with boolean flag that can be checked by executors
http://jira.springframework.org/browse/BATCH-303
2008-01-22 13:52:17 +00:00
dsyer
552549f897 OPEN - issue BATCH-303: Replace repeat contexts in core domain with boolean flag that can be checked by executors
http://jira.springframework.org/browse/BATCH-303
2008-01-22 13:45:02 +00:00
dsyer
c449d7c90c Fix order-dependent test failure (caused by lack of primary key in GAMES) 2008-01-21 14:10:22 +00:00
dsyer
72167a78c6 Hopefully fix FieldSet changes (uncommitted) and add also some work in progress on JobLauncher interface change 2008-01-17 13:01:03 +00:00
dsyer
ce9ff5d25e Rollback previous change to football job (make config file path valid) 2008-01-17 12:54:00 +00:00
lucasward
1640e7173f Fixes for build errors 2008-01-16 21:56:31 +00:00
lucasward
8e3871e6a2 Misc. Name changes. (Mostly as a result of JobConfiguration -> job) 2008-01-16 11:48:56 +00:00
lucasward
810e51ed9d Unit test fixes. 2008-01-14 23:11:12 +00:00
lucasward
46276c65fd BATCH-273: JobConfiguration renamed to Job 2008-01-14 22:57:57 +00:00
lucasward
fc8c14501c BATCH-84: Modified JobIdentifier interface to include new JobRuntimeParameters value object, and modified its subclasses accordingly. 2008-01-07 06:19:21 +00:00
dsyer
c423fff306 Rename provider package as "reader" 2008-01-02 14:41:06 +00:00
dsyer
03ea1e3826 IN PROGRESS - issue BATCH-267: Re-organise I/O (io) packages
http://jira.springframework.org/browse/BATCH-267

Remove package cycles
2007-12-31 17:13:40 +00:00
dsyer
3ee3007c46 IN PROGRESS - issue BATCH-267: Re-organise I/O (io) packages
http://jira.springframework.org/browse/BATCH-267

Initial draft - separating flat file and xml processing
2007-12-31 15:42:15 +00:00
dsyer
19164926b6 Remove java.sql.Timestamp from domain objects. 2007-12-22 09:43:04 +00:00
dsyer
c022df6ce0 RESOLVED - issue BATCH-262: Hibernate Job blocks on flush
http://jira.springframework.org/browse/BATCH-262

The hibernate job blocks with high isolatio nlevels because it is reading a cursor and then updating the same objects (the cursor is in a different transaction because it uses openSession()).

The resolution is to change the isolation level - might be worth some more careful work later to encourage the right sort of best practice.
2007-12-22 09:40:59 +00:00
dsyer
c456d3b306 IN PROGRESS - issue BATCH-262: Hibernate Job blocks on flush
http://jira.springframework.org/browse/BATCH-262

Move session factory to parent context
2007-12-21 14:36:24 +00:00
dsyer
a29f0f83e8 Re-organise parallel job to run quicker (not football job any more). 2007-12-20 08:55:18 +00:00
lucasward
03ae5c4e4d BATCH-217:Modified class names to Jdbc* from Sql* 2007-12-19 16:56:11 +00:00
dsyer
9405d078f9 Spelling error in comment 2007-12-18 17:48:28 +00:00
dsyer
fe54a6f38d IN PROGRESS - issue BATCH-212: Merge InputSource with ItemProvider
http://opensource.atlassian.com/projects/spring/browse/BATCH-212

Rename class and method names (Provider -> Reader)
2007-12-17 14:12:24 +00:00
dsyer
ab98d1ebe6 IN PROGRESS - issue BATCH-212: Merge InputSource with ItemProvider
http://opensource.atlassian.com/projects/spring/browse/BATCH-212

Merge InputSource/ItemProvider -> ItemReader.
2007-12-17 13:13:39 +00:00
dsyer
c117a44354 OPEN - issue BATCH-87: Recoverable is a nasty abstraction - encourages stateful Tasklets.
http://opensource.atlassian.com/projects/spring/browse/BATCH-87

Tidied up test cases and removed DefaultStepExecutor (Simple* does everything).
2007-12-16 17:59:35 +00:00
dsyer
4f237d7ca6 IN PROGRESS - issue BATCH-127: Allow job configuration to control re-entrant behavior
http://opensource.atlassian.com/projects/spring/browse/BATCH-127

Useful integration test for JobExecutionAlreadyFoundException
2007-12-15 15:37:57 +00:00
dsyer
f49c9d9526 IN PROGRESS - issue BATCH-127: Allow job configuration to control re-entrant behavior
http://opensource.atlassian.com/projects/spring/browse/BATCH-127

SimpleJobRepository.findOrCreateJob now blocks if the transaction isolation level is high enough (see Javadocs).
2007-12-15 15:25:11 +00:00
dsyer
b52676b1c3 Experimental job configuration loader for management purposes. 2007-12-14 01:23:32 +00:00
dsyer
f7c5e0ff44 Add parallel processing sample (parallel version of football job) 2007-12-14 01:21:29 +00:00
dsyer
445ae1637a Add flag for ignoring failed drop statement 2007-12-12 23:24:36 +00:00
dsyer
800896c409 Conversion to String is not automatic with some database platforms 2007-12-12 22:26:28 +00:00