Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2084

ObjectIdQuery - no cache access polymorphism

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.M3, 3.1.1
    • Fix Version/s: 4.0.M4, 3.1.2
    • Component/s: None
    • Labels:
      None

      Description

      https://lists.apache.org/thread.html/Zghdtqgnqhzlnxs

      ObjectIdQuery with CACHE setting bypasses cache when the ID resolves to a subclass. E.g. (using our unit test entities) :

      new ObjectIdQuery(
      new ObjectId("AbstractPerson", "PERSON_ID", 1),
      false,
      ObjectIdQuery.CACHE);

        Attachments

          Activity

            People

            • Assignee:
              andrus Andrus Adamchik
              Reporter:
              andrus Andrus Adamchik
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: