if i synchronize also the update() method of the wrapper, the problem is solved.
Reason is that i use stateful session, which get cleared in the update() method. This interferes with another thread...
Type: Posts; User: danieln; Keyword(s):
if i synchronize also the update() method of the wrapper, the problem is solved.
Reason is that i use stateful session, which get cleared in the update() method. This interferes with another thread...
Hi,
I have a multi-threaded chunk step that uses HibernateCursorItemReader to read items from a MySQL DB.
As HibernateCursorItemReader is not thread-safe, i wrapped it in another class,...
Hello,
I have a read-write batch job that reads items from a database table and calls a web service (as the writer part).
As the calls to the web service eventually overload the remote server, I...
I managed to find a solution, albeit not the prettiest, it surely does the job..
So here it is, in hope it might help someone in need..
What I did is wrap FlatFileItemReader inside a class (proxy)...
Hello,
I implemented a chunk tasklet with a flat file reader.
I would like to implement a stop mechanism that will exit this chunk read-write step according to a business stop condition. I want...
Hi,
In my application, I have to support both JAXB and XStream as marsahllers. Some methods use Xstream for marshaling response bodies, while others use Jaxb for that purpose. Is there a way to...