Search:

Type: Posts; User: divren; Keyword(s):

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,022

    The DB2 error states that parameter names are not...

    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...
  2. Replies
    4
    Views
    1,022

    Ok so it works. Kinda.... It makes a lot of sense...

    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...
  3. Replies
    4
    Views
    1,022

    Ah I see. I was under the impression that the...

    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....
  4. Replies
    11
    Views
    1,241

    Basically I think it is not really practical to...

    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...
  5. Replies
    4
    Views
    1,022

    multi-threading and long running transactions

    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...
  6. Replies
    11
    Views
    1,241

    Thanks for your replies but I still do not have a...

    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...
  7. Replies
    11
    Views
    1,241

    Thanks Dave, you are right that I did not...

    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...
  8. Replies
    11
    Views
    1,241

    I changed my reader to return null if the row's...

    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...
  9. Replies
    11
    Views
    1,241

    Simliar problem - no solution yet

    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...
  10. Replies
    3
    Views
    594

    Thank you for your reply, I appreciate it very...

    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...
  11. Replies
    3
    Views
    594

    Step not completing stays 'started'

    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...
  12. I also think that this might be a bug. The...

    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.
  13. Fixed by changing approach

    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...
  14. JdbcCursorItemReader reads nothing the second time

    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...
  15. Replies
    2
    Views
    1,591

    Thanks a lot. This is exactly what I was looking...

    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...
  16. Replies
    2
    Views
    1,591

    Monitor the progress of a batch job

    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...
Results 1 to 16 of 16