Announcement Announcement Module
Collapse
No announcement yet.
JSR-303 annotations Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • JSR-303 annotations

    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.

  • #2
    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).

    Comment


    • #3
      Thanks scottyfred.

      Btw, that link has moved to:

      http://docs.jboss.org/hibernate/stab...in-constraints

      Comment


      • #4
        Hey I know this post is a bit old, but I found it from searching Google for a list of validation annotations. The updated Hibernate Validator annotations link is here: http://docs.jboss.org/hibernate/stab...in-constraints

        Comment

        Working...
        X