Results 1 to 2 of 2

Thread: NullFieldSetMapper

  1. #1
    Join Date
    May 2008
    Posts
    4

    Default NullFieldSetMapper

    When I have rows I don't want to deal with, I've been using a custom fieldset mapper that return null along with my pattern matching line mapper. Is there a better way?

  2. #2
    Join Date
    Jun 2005
    Posts
    4,230

    Default

    If you return null from a FieldSetMapper doesn't the Step execution stop processing? Isn't it better to return a special non-null value that you can recognize and filter out in a custom ItemReader or ItemProcessor?

Posting Permissions

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