OpenJPA
  1. OpenJPA
  2. OPENJPA-2133

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 1.2.3, 2.0.3, 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.

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          81d 22h 35m 1 Jody Grassel 07/May/12 15:51
          Resolved Resolved Closed Closed
          11s 1 Jody Grassel 07/May/12 15:51
          Heath Thomann made changes -
          Link This issue is related to OPENJPA-758 [ OPENJPA-758 ]
          Jody Grassel made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Jody Grassel made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 1.2.3 [ 12314517 ]
          Fix Version/s 2.0.3 [ 12317143 ]
          Fix Version/s 2.1.2 [ 12317142 ]
          Fix Version/s 2.3.0 [ 12319463 ]
          Fix Version/s 2.2.1 [ 12319943 ]
          Resolution Fixed [ 1 ]
          Heath Thomann made changes -
          Attachment OPENJPA-2133-2.1.x.patch [ 12514653 ]
          Heath Thomann made changes -
          Patch Info Patch Available [ 10042 ]
          Heath Thomann made changes -
          Field Original Value New Value
          Environment 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.
          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.
          Heath Thomann created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development