Issue Details (XML | Word | Printable)

Key: BATCH-407
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Ben Hale
Reporter: Ben Hale
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Spring Batch

Create a FactoryBean for SimpleJobRepository

Created: 03/Mar/08 10:10 AM   Updated: 07/Aug/08 10:06 AM
Component/s: Core
Affects Version/s: 1.0.0.m4
Fix Version/s: 1.0.0.m5

Time Tracking:
Not Specified


 Description  « Hide
A FactoryBean should be created for the SimpleJobRepository. It should be passed a dataSource and then at runtime, determine the type of database and wire together the appropriate pieces.

 All   Comments   Work Log   Change History   FishEye   Builds      Sort Order: Ascending order - Click to sort in descending order
Lucas Ward added a comment - 03/Mar/08 02:25 PM
I added the factory bean created by Ben to the samples, and it worked without issue, so I'm going to go ahead and close this issue. Long term, we may want to fully integration test the factory with different databases as part of our larger integration testing, but that can be captured in a separate issue.

I was able to at least unit test that the right incrementers are being created by splitting that out into a separate factory.

Dave Syer added a comment - 07/Aug/08 10:06 AM
Assume closed as resolved and released