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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.1
    • 1.2.3, 2.0.2, 2.1.2, 2.2.1, 2.3.0
    • None
    • None
    • 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

        1. OPENJPA-2133-2.1.x.patch
          3 kB
          Heath Thomann

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: