Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2133

OpenJPA doesn't find custom mappings with an applicable class loader

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 1.2.3, 2.0.2, 2.1.2, 2.2.1, 2.3.0
    • Component/s: None
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jpaheath Heath Thomann
                Reporter:
                jpaheath Heath Thomann
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: