[jboss-jira] [JBoss JIRA] (WFLY-1705) JPA persistence units make use of SerializableValidatorFactory instead of using the JNDI bound default ValidatorFactory

Scott Marlow (JIRA) jira-events at lists.jboss.org
Tue Jul 16 11:40:27 EDT 2013


    [ https://issues.jboss.org/browse/WFLY-1705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12790024#comment-12790024 ] 

Scott Marlow edited comment on WFLY-1705 at 7/16/13 11:39 AM:
--------------------------------------------------------------

Check if we can use the deploymentUnit.getAttachment(BeanValidationAttachments.VALIDATOR_FACTORY)
                
      was (Author: smarlow):
    Check if we can use the deploymentUnit.putAttachment(BeanValidationAttachments.VALIDATOR_FACTORY, factory);
                  
> JPA persistence units make use of SerializableValidatorFactory instead of using the JNDI bound default ValidatorFactory
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-1705
>                 URL: https://issues.jboss.org/browse/WFLY-1705
>             Project: WildFly
>          Issue Type: Feature Request
>          Components: EE, JPA / Hibernate
>    Affects Versions: 8.0.0.Alpha2
>            Reporter: Hardy Ferentschik
>            Assignee: Scott Marlow
>
> I think there is no need for {{SerializableValidatorFactory}}. _LazyValidatorFactory_ should be used at all times to also ensure that CDI injection works.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list