You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current example provided in the documentation to run a job with an in-memory repository actually uses MapJobRepositoryFactoryBean, which is deprecated.
It would be good to review the example and provide one that shows the "real" recommended way.. I guess it would be way to use an H2 datasource (ideally, programmatically) initialized with the proper tables so that it can be used directly
The text was updated successfully, but these errors were encountered:
This is similar to #3834, where I mentioned that the suggested replacement can be found in the Javadocs. There is also a first draft of a migration guide for v5.
But since this is a recurring request, I think the reference documentation should also be updated with a deprecation note and a sample.
The current example provided in the documentation to run a job with an in-memory repository actually uses
MapJobRepositoryFactoryBean
, which is deprecated.https://docs.spring.io/spring-batch/docs/current/reference/html/index-single.html#inMemoryRepository
It would be good to review the example and provide one that shows the "real" recommended way.. I guess it would be way to use an H2 datasource (ideally, programmatically) initialized with the proper tables so that it can be used directly
The text was updated successfully, but these errors were encountered: