[hibernate-issues] [Hibernate-JIRA] Commented: (BVAL-218) Offer contract to validate method parameters and return values

Emmanuel Bernard (JIRA) noreply at atlassian.com
Tue Jun 21 04:15:54 EDT 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/BVAL-218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42684#action_42684 ] 

Emmanuel Bernard commented on BVAL-218:
---------------------------------------

I have been in touch with Bill Pugh back in the Bean Validation 1.0 on this topic. Wwe have listed similarities between the two specs and thought about sharing some infrastructure.
But remember one big thing:
 - Bean Validation is a runtime validation framework
 - JSR-305 is static analyzer-based / tooling validation

These are very different scopes. It would not be good to share the same annotations (at least BV reusing JSR-305) as validation should not happen "all the time" in BV but only at specific lifecycle events and with specific groups.

We will keep an eye on it though. Thanks for the reminder. FYI, I think JSR-305 is waiting for JSR-308 which is waiting for Java 8.

> Offer contract to validate method parameters and return values
> --------------------------------------------------------------
>
>                 Key: BVAL-218
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/BVAL-218
>             Project: Bean Validation
>          Issue Type: New Feature
>          Components: spec-general
>            Reporter: Emmanuel Bernard
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list