OpenJPA
  1. OpenJPA
  2. OPENJPA-1232

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

        Activity

        Donald Woods made changes -
        Fix Version/s 2.0.0-M3 [ 12314148 ]
        Affects Version/s 2.0.0-M2 [ 12313483 ]
        Michael Dick made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Michael Dick created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development