[hibernate-issues] [Hibernate-JIRA] Commented: (HV-546) LazyValidatorFactory does not allow alternative bean validation providers

Hardy Ferentschik (JIRA) noreply at atlassian.com
Tue Jan 3 07:23:19 EST 2012


    [ http://opensource.atlassian.com/projects/hibernate/browse/HV-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44831#comment-44831 ] 

Hardy Ferentschik commented on HV-546:
--------------------------------------

https://github.com/hibernate/hibernate-validator/pull/95

> LazyValidatorFactory does not allow alternative bean validation providers
> -------------------------------------------------------------------------
>
>                 Key: HV-546
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-546
>             Project: Hibernate Validator
>          Issue Type: Bug
>          Components: engine
>    Affects Versions: 4.2.0.Final
>            Reporter: Hardy Ferentschik
>             Fix For: 4.3.0.next
>
>
> The current implementation of _LazyValidatorFactory_ does not allow alternative validation providers. The idea of the class is to make sure that Hibernate Validator is the default (it should be the first returned), but it should also allow for custom providers. For this to work logic as in _Validation#DefaultValidationProviderResolver_ is needed. 
> The same problem applies to _org.jboss.as.ee.beanvalidation.LazyValidatorFactory_ and _org.jboss.as.jpa.validator.JPALazyValidatorFactory_.

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