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

Emmanuel Bernard (JIRA) noreply at atlassian.com
Fri Dec 23 08:40:19 EST 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HV-500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bernard resolved HV-500.
---------------------------------

    Resolution: Fixed

> 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
>            Assignee: Hardy Ferentschik
>             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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list