[jboss-jira] [JBoss JIRA] (AS7-6665) Avoid creation of ConstraintMapping in LazyValidatorFactory
Gunnar Morling (JIRA)
jira-events at lists.jboss.org
Thu Mar 7 03:14:57 EST 2013
[ https://issues.jboss.org/browse/AS7-6665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759282#comment-12759282 ]
Gunnar Morling edited comment on AS7-6665 at 3/7/13 3:13 AM:
-------------------------------------------------------------
RESTEasy currently uses a HV specific API ({{MethodValidator}}) which was replaced by {{javax.validation.executable.ExecutableValidator}} as of HV 5/BV 1.1 (see [GeneralValidator|https://github.com/resteasy/Resteasy/blob/master/jaxrs/resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/validation/GeneralValidator.java]).
was (Author: gunnar.morling):
RESTEasy currently uses a HV specific API ({{MethodValidator}} which was replaced by {{javax.validation.executable.ExecutableValidator}} as of HV 5/BV 1.1 (see [GeneralValidator|https://github.com/resteasy/Resteasy/blob/master/jaxrs/resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/validation/GeneralValidator.java]).
> Avoid creation of ConstraintMapping in LazyValidatorFactory
> -----------------------------------------------------------
>
> Key: AS7-6665
> URL: https://issues.jboss.org/browse/AS7-6665
> Project: Application Server 7
> Issue Type: Task
> Components: JPA / Hibernate
> Affects Versions: 7.1.3.Final (EAP)
> Reporter: Gunnar Morling
> Assignee: Scott Marlow
> Fix For: 8.0.0.Alpha1
>
>
> As discussed with @smarlow, the call to {{new ConstraintMapping()}} in [LazyValidatorFactory|https://github.com/jbossas/jboss-as/blob/master/ee/src/main/java/org/jboss/as/ee/beanvalidation/LazyValidatorFactory.java#L93] needs to be removed as it makes it impossible to use Hibernate Validator 5 with AS.
> I'm going to create a pull request for this.
--
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