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

Keys in an EmbeddedCollection are returned as PCData objects when DataCache is enabled

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M2
    • Fix Version/s: 2.0.0-M3
    • Component/s: datacache
    • Labels:
      None

      Description

      A mapping like this fails when a DataCache is in use:

      @ElementCollection
      private Map<Embeddable, Embeddable> embeddableMap;

      The keyset contains PCData instances instead of Embeddables.

        Attachments

          Activity

            People

            • Assignee:
              mikedd Michael Dick
              Reporter:
              mikedd Michael Dick
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: