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.
My fault, in the entity class, the field was declared as "private short ...." instead of "private Short ...". Sorry!