[jboss-user] [JBoss Seam] - action bean managed entity: nullable Short value cannot be n
enzhao
do-not-reply at jboss.com
Wed Jun 27 12:44:37 EDT 2007
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.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058316#4058316
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058316
More information about the jboss-user
mailing list