8 Replies Latest reply on Nov 30, 2007 9:37 AM by Pete Muir

    Modifying Hibernate validator msgs

    Chad Arimura Newbie

      1) Is there a way to override Hibernates DefaultValidatorMessages.properties file so that I can have custom messages without actually changing the properties file inside hibernate-annotations.jar?

      2) The @NotNull validator only checks for Null but not empty strings (eg. empty form field)... obviously this is intended, but is there a way to check for empty strings? Should I use @Pattern?

      Thanks,
      Chad