The DB2 error states that parameter names are not allowed in dynamic queries and that I should use ? instead. After doing that I got a different DB2 error and I figured out that there is a bug in the...
Type: Posts; User: divren; Keyword(s):
The DB2 error states that parameter names are not allowed in dynamic queries and that I should use ? instead. After doing that I got a different DB2 error and I figured out that there is a bug in the...
Ok so it works. Kinda.... It makes a lot of sense now and looking back I don't know how I did not think that the commit interval will make sure the threads do not do too much.
I have a different...
Ah I see. I was under the impression that the step will have to use all the items in a partition in one go. Come to think of it, it probably makes sense. I will try it that way and report back....
Basically I think it is not really practical to process so many records as part of one step - but is is likely that I am misunderstanding something.
Sorry for the inconvenience. I started a new...
I am working on improving the performance of an existing spring batch implementation. The current batch works on a largish data set (100k) and basically creates pdf documents for each row.
My...
Thanks for your replies but I still do not have a clear idea of how to solve my problem. It seems that partitioning is not the solution. I'll start a new thread for that as the duplicating was only a...
Thanks Dave, you are right that I did not understand the role of the partitioner properly. I hoped that if I added more than 10 contexts that still only 10 would execute at the same time. My...
I changed my reader to return null if the row's processed column is 1 so it will only read something the first time and the second time the reader is called it returns null.
It the case of a...
I want to start and state that we are using Spring Batch 2.0.3 and upgrading right now is not an option, although fixing this issue is important. The batch also runs in a Websphere 6.1 EJB container...
Thank you for your reply, I appreciate it very much.
The JVM is still alive because the Springframework runs within Websphere 6.1. Batches are started as WorkThreads so the container will notify...
I am using Springbatch 2.03 and upgrading is not an option at the moment.
I must be doing something fundamentally wrong, as I cannot find anyone else who had this exact problem.
I created a...
I also think that this might be a bug. The documentation suggests that late binding can be used in this way, but it does not work.
Hi,
I managed to prove my suspicion that the JdbcCursorItemReader uses the same query every time.
I created a subclass of JdbcCursorItemReader and overrode the setSql method. Printed the sql...
Hi,
I search on the web using google and also on this forum but I could not find anyone that had a problem like mine. This tells me that I am doing something fundamentally wrong.
I have a batch...
Thanks a lot. This is exactly what I was looking for. I don't know how I missed that. I did not even think checking the job. So now I am going to load the SimpleJob object using the normal spring...
I have a requirement to track the progress of a currently running job.
Question 1: How can I at RUNTIME determine the steps in a job?
I know that I can use the JobExplorer, JobOperator and...