[jboss-user] [JBoss Seam] - @Length in char(1) property

luizruiz do-not-reply at jboss.com
Wed May 23 10:05:14 EDT 2007


Hi,

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?

Luiz



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047907#4047907

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047907



More information about the jboss-user mailing list