Where can we get a list of all supported JSR-303 annotations? Is there a tutorial on how to write our own?? I would like to see some blog posts on spring bean validation.
Where can we get a list of all supported JSR-303 annotations? Is there a tutorial on how to write our own?? I would like to see some blog posts on spring bean validation.
Hibernate Validator is the reference implementation for JSR-303 annotation-drive validation. Here is a link to the annotations Hibernate supports:
http://docs.jboss.org/hibernate/stab...in-constraints
The annotations with "yes" in the "Part of Bean Validation Specification" are part of the JSR-303 spec, the items with "no" are Hibernate-specific extensions.
Another section on this page explains how to write custom JSR-303 validation classes (custom annotations).
Thanks scottyfred.
Btw, that link has moved to:
http://docs.jboss.org/hibernate/stab...in-constraints
Andrew Swan
"Now is the EJB of our discontent made glorious Spring"