[jboss-user] [JBoss Seam] - Re: Long vs long for ID and InvalidStateException
pete.muir@jboss.org
do-not-reply at jboss.com
Wed Oct 24 10:23:38 EDT 2007
@NotNull is a validator annotation. And as a long can't be null (it will be 0), the validation passes. Removing @NotNull should fix it.
Perhaps ask on the hibernate forums as well - I'm not sure of exactly how this should work.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098336#4098336
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098336
More information about the jboss-user
mailing list