[JIRA] Created: (CAY-707) SelectQuery automatic cache key build mechanism produces wrong results when DO's are used in qualifier

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Fri Nov 17 2006 - 16:36:04 EST

  • Next message: Andrus Adamchik: "Board Proposal Draft"

    SelectQuery automatic cache key build mechanism produces wrong results when DO's are used in qualifier
    ------------------------------------------------------------------------------------------------------

             Key: CAY-707
             URL: http://issues.apache.org/cayenne/browse/CAY-707
         Project: Cayenne
            Type: Bug

      Components: Cayenne Core Library
        Versions: 3.0
        Reporter: Andrus Adamchik
     Assigned to: Andrus Adamchik
        Priority: Minor
         Fix For: 3.0

    SelectQueryMetadata.resolve:

    Part of the cache key building mechanism is doing this:

     key.append('/').append(query.getQualifier());

    resulting in full DataObjects used as cache keys if a qualifier matches a DataObject. Should be using ObjectId instead.

    -- 
    This message is automatically generated by JIRA.
    -
    If you think it was sent incorrectly contact one of the administrators:
       http://issues.apache.org/cayenne/secure/Administrators.jspa
    -
    For more information on JIRA, see:
       http://www.atlassian.com/software/jira
    



    This archive was generated by hypermail 2.0.0 : Fri Nov 17 2006 - 16:36:28 EST