[ 
https://issues.apache.org/jira/browse/OPENJPA-2495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Donald Woods reassigned OPENJPA-2495:
-------------------------------------

    Assignee: Donald Woods

> Bean validation: application specified validation group causes validation 
> setup to fail
> ---------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-2495
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2495
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: validation
>    Affects Versions: 2.2.1, 2.2.2
>         Environment: WebSphere 8.5.5
>            Reporter: Bob Mitchell
>            Assignee: Donald Woods
>
> In a Java EE environment, when specifying a validation group using the 
> "javax.persistence.validation.group.group.pre-persist" (or pre-update or 
> pre-delete) causes a "Could not create the optional validation provider" 
> because it cannot find the class for the validation group.  The problem 
> appears to be that the code to find the class 
> (org.apache.openjpa.persistence.validation.ValidationImpl.getValidationGroup) 
> is using Class.forName(className) and not using the application's context 
> class loader.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to