Closed GoogleCodeExporter closed 8 years ago
Hi Mikhas, I see what you mean, but I don't think BeanIO should assume it has
the wrong record type if a record doesn't pass validation.
In your specific example, I would use a regular expression to identify detail
records based on a numeric processDate field, as shown below. (I simply added
rid="true" and regex="\d+")
<field name="processDate" rid="true" regex="\d+" length="9" type="date"
justify="left" format="yyyyMMdd"/>
Original comment by kevin.s...@gmail.com
on 14 Jan 2012 at 4:00
Original comment by kevin.s...@gmail.com
on 14 Jan 2012 at 4:05
Original issue reported on code.google.com by
mikhas.rock
on 13 Jan 2012 at 6:20Attachments: