1 Reply Latest reply on Jun 27, 2007 1:07 PM by ellenzhao

    action bean managed entity: nullable Short value cannot be n

    ellenzhao

      Always got a IllegalArgumentException when I tried to input a null value for a field (type Short) which was annotated with @Column(...nullable=true), exactly the same managed entity, nullable fields with the type of String nulled well. I did write "required="false" in the xhtml file, for the Short typed fields. In the database, these smallint fields are nullable too....this really confused me. What am I doing wrong or is it a bug? (Using Seam 2.0 beta1)

      Tested with another entity which was injected/outjected, this problem does not exist. Nullable Short fields can be null.