Results 1 to 3 of 3

Thread: JSR-303 annotations

  1. #1
    Join Date
    Jun 2008
    Location
    Jacksonville, Florida
    Posts
    147

    Default 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. #2

    Default

    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).

  3. #3
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    668

    Post

    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"

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •