This problem arises when you're using the hibernate validation incorrectly. The
@Length validator can only be used on Strings.
See the Hibernate documentation for valid validation usage:
http://www.hibernate.org/hib_docs/validator/reference/en/html/validator-d...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124582#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...