Welcome to the new Spring.io forums!
If this is your first visit, be sure to check out the
by clicking the link above, and for security reasons, use the
forgot password link to reset your password..
You may have to register before you can post: click the register
link above to proceed. To start viewing messages, select the forum that you want to visit
from the selection below.
You can synchronize the read() method (e.g. by wrapping it in a delegator that does the synchronization). Remember that you will lose restartability, so best practice is to mark the step as not restartable and to be safe (and efficient) you can also set saveState=false on the reader.
I am running the StoredProcedureItemReader in a multithreaded fasion. I get the below error
Encountered an error executing the step
org.springframework.dao.InvalidDataAccessResourceU sageException: Unexpected cursor position change.
when I run in single threaded mode I dont have this issue....