This content has been marked as final.
Show 1 reply
-
1. Re: Validator gets called twice
pmuir Nov 12, 2007 9:57 AM (in response to eethyo)The validator is called once by JSF to validate your entity in the PROCESS VALIDATION phase and once by hibernate when inserting data to the database. You need to write your Validator to be consistent and not return different results depending on the state of other fields in the entity.