You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Heath Thomann (Updated) (JIRA)" <ji...@apache.org> on 2012/02/15 17:18:59 UTC

[jira] [Updated] (OPENJPA-2133) OpenJPA doesn't find custom mappings with an applicable class loader

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

Heath Thomann updated OPENJPA-2133:
-----------------------------------

    Attachment: OPENJPA-2133-2.1.x.patch
    
> OpenJPA doesn't find custom mappings with an applicable class loader
> --------------------------------------------------------------------
>
>                 Key: OPENJPA-2133
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2133
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 2.1.1
>            Reporter: Heath Thomann
>            Assignee: Heath Thomann
>         Attachments: OPENJPA-2133-2.1.x.patch
>
>
> JIRA OPENJPA-758 addressed a class loader issue where ValueHandlers could not be found by an applicable class loader. The fix was specific to ValueHandlers. However, the same issue occurs for other customer mappings (e.g. ClassStrategy, DiscriminatorStrategy, etc). Basically, mappings handled by MappingRepository. I will attach a patch with my proposed changes. The fix is in the same pattern as was done in the fix for JIRA OPENJPA-758, please see this JIRA for more details. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira