Hi, I need to perform a long batch operation on a quite large dataset. The batch pattern from Spring appears very clean and useful, and I would like to implement it.
My question is mainly about the implementation of the ItemReader, working with pagination.
I would like to use DaaManager, while the closest concrete implementation offered by Spring is JpaPagingItemReader
My main doubt is how to get an entityManagerFactory that maps to JMix DataManager.
The sample code of your linked docs should work as is if I understand correctly. The entityManagerFactory() method just references the spring bean. So you probably can leave it as is.
Or is there any other reason you need to use the DataManager API?