[hibernate-issues] [Hibernate-JIRA] Commented: (HV-563) Enable Configuration#buildValidatorFactory() to be callable several times

Hardy Ferentschik (JIRA) noreply at atlassian.com
Tue Mar 20 10:36:50 EDT 2012


    [ https://hibernate.onjira.com/browse/HV-563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46031#comment-46031 ] 

Hardy Ferentschik commented on HV-563:
--------------------------------------

Sounds reasonable to me atm. To be honest I cannot remember whether the current behavior is a bug or feature. It would definitely be nice to get this clarified from the specification side as well.

> Enable Configuration#buildValidatorFactory() to be callable several times
> -------------------------------------------------------------------------
>
>                 Key: HV-563
>                 URL: https://hibernate.onjira.com/browse/HV-563
>             Project: Hibernate Validator
>          Issue Type: Bug
>          Components: engine
>    Affects Versions: 4.2.0.Final
>            Reporter: Gunnar Morling
>             Fix For: 4.3.0.Beta1
>
>
> Currently invoking {{buildValidatorFactory}} several times on one {{Configuration}} instance results in an NPE. While the spec currently doesn't clearly say whether invoking {{buildValidatorFactory}} more than once is legal or not, I personally think we should support that use case.
> Original HV forum post: https://forum.hibernate.org/viewtopic.php?f=9&t=1014788

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