Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Error in documentation section 4.2.3 - In-Memory Repository [BATCH-1192] #2376
I don't about what was done at the issue BATCH-778, but at the end the class MapJobRepositoryFactoryBean still needs a ResourcelessTransactionManager.
But in documentarion section section 4.2.3 appers as this:
So my advice is to make ResourcelessTransactionManager the default implementation (better) OR make the documentation correct adding the property transactionManager.
Another good option is create something in the namespace like:
<job-repository id="jobRepository" type="memory" />
Dave Syer commented
Thanks, but I don't think it's really a sensible default because it fools people into thinking they don't need a transaction manager. And I don't want to add support in the namespace because it is really only useful for testing / getting started - not recommended in production use. BATCH-778 was closed because we are not going to make the changes suggested. The documentation, however, has been updated, so I'm marking this issue as Fixed.