Search:

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

Search: Search took 0.01 seconds.

  1. I don't believe that JdbcBatchItemWriter itself...

    I don't believe that JdbcBatchItemWriter itself can handle the situation you want.

    It's possible that you could write a more complex sql statement which would do either/both an insert, and/or an...
  2. Saving to the ExecutionContext in the JobExecutionListener.afterJob method

    I'm having an issue where I need to persist some object to the ExecutionContext after a job finishes.

    I implemented a JobExecutionListener with beforeJob and afterJob methods however I only am...
  3. Replies
    3
    Views
    1,063

    I ran into a simliar type issue that you are...

    I ran into a simliar type issue that you are running into. I would recommend to be very careful that your readers will always read the same records, and in the same order, or they will break.

    My...
  4. Replies
    0
    Views
    259

    FlatFileItemReader including the filename

    I am looking to do a simple FlatFileItemReader behind a MultiResourceItemReader but I want to write the name of the file to the output mapper. Is there a built in way to do this without writing my...
  5. Replies
    1
    Views
    348

    Optionally skip step completely?

    This may be an unusual use case, but I have two scenarios and in one I want to conditionally avoid processing of a step. Does anyone know if you can avoid a step completely with a condtional in some...
  6. Thanks for the response. Not a bad idea. We are...

    Thanks for the response. Not a bad idea. We are running the DB in memory though, and I'm worried about it's size if I start making copies.

    Upon greater consideration. I think the best...
  7. Weirdness with pageSize and modifying selection criteria mid chunk.

    I have a simple spring batch execution chunk that was giving me problems for a while. Basically I was reading from a database using a org.springframework.batch.item.database.JpaPagingItemReader and...
Results 1 to 7 of 7