[JIRA] Created: (CAY-741) Indexing entities with inheritance across datamaps

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Mon Jan 29 2007 - 08:59:50 EST

  • Next message: Andrus Adamchik (JIRA): "[JIRA] Created: (CAY-742) Client CayenneContext doesn't evict objects after delete"

    Indexing entities with inheritance across datamaps
    --------------------------------------------------

                     Key: CAY-741
                     URL: https://issues.apache.org/cayenne/browse/CAY-741
                 Project: Cayenne
              Issue Type: Bug
              Components: Cayenne Core Library
        Affects Versions: 1.2 [STABLE], 2.0 [STABLE], 3.0
                Reporter: Andrus Adamchik
             Assigned To: Andrus Adamchik
                Priority: Trivial
                 Fix For: 3.0

    Looking at EntityResolver.constructCache, if entity's superentity exists in a different DataMap, EntityInheritanceTree will not be linked properly. Extracting inheritance processing code outside the mapIterator loop should fix the problem.

    -- 
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
    



    This archive was generated by hypermail 2.0.0 : Mon Jan 29 2007 - 09:00:37 EST