@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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to