7 Replies Latest reply on Jul 10, 2007 12:53 PM by Dan Allen

    @Length in char(1) property

    Luiz Augusto Ruiz Newbie


      I have a table with a char(1) field. Seam-gen generates the entityBean with a char property and put a @Length(max = 1) annotation. It's wrong, a char always allows only 1. This situation always causes an error in the page: length must be between 0 and 1.

      How to fix this?