2 Replies Latest reply on Apr 18, 2008 4:46 PM by Hans Schlegel

    Hibernate Validator (complex type)

    Benjamin Graf Novice

      I recognized that seam handels validations after sending jsf form but before invoking methods on beans. well, that's working fine for geter based annotations. I'm trying to use self written validators which are defined as class annotations since they correspond to several entity columns (complex constraints checks). Unfortunately these validations are done after method has been ended. I got an validation error which is handeled by seam but which also stops transaction. Another commit after correcting form input fails. I know that there is not yet a possibility for that transaction problem, but there might be an anwser how to check class validations togeter with field annotations. Maybe that's an feature/bug request for JIRA!


      THX any for help
      Benjamin