[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Validation Exception caused by @Length and @Enumerated

snrpepe do-not-reply at jboss.com
Tue Jan 29 16:28:24 EST 2008

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:

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

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

More information about the jboss-user mailing list