[hibernate-issues] [Hibernate-JIRA] Created: (HV-500) ConfigurationImpl should support multiple programmatic constraint mappings

Gunnar Morling (JIRA) noreply at atlassian.com
Sat Jun 25 13:14:54 EDT 2011


ConfigurationImpl should support multiple programmatic constraint mappings
--------------------------------------------------------------------------

                 Key: HV-500
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-500
             Project: Hibernate Validator
          Issue Type: Improvement
          Components: engine
            Reporter: Gunnar Morling
             Fix For: 4.3.0.next


The method {{HibernateValidatorConfiguration#addMapping(ConstraintMapping mapping)}} suggests that several programmatically configured constraint mappings could be added to the configuration (similar to XML based mappings). 

Actually only one programmatic mapping is supported though, as {{ConfigurationImpl}} doesn't hold a collection of mappings, but only a single one. Hence only the mapping "added" last is actually applied.

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