Results 1 to 4 of 4

Thread: How to bypass NoWorkFoundException

Threaded View

  1. #1
    Join Date
    Apr 2008
    Posts
    9

    Default How to bypass NoWorkFoundException

    Hi,

    My job has 3 steps:
    step-1 : update table_A records with some data
    step-2 : generate output file_X from table_A based on criteria_1
    step-3: generate output file_Y from table_A based on criteria_2

    step-2; step-3 are using IbatisDrivingQueryItemReader as the reader.

    The problem is, if step-2 returns no result then the reader will throw NoWorkFoundException and stop the whole job.process. In our domain, it's ok to skip step-2 and shld still proceed to step-3 and vice versa.

    I dont want to seperate step-2; step-3 as a seperate job. Can I achive this? pls advice, thx a lot!
    Last edited by catsfelix; Apr 28th, 2008 at 12:10 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •