[JIRA] Created: (CAY-692) Extra argument needed in ObjectContext.prepareForAccess - whether the property is a fault or not.

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Sat Oct 14 2006 - 19:03:32 EDT

  • Next message: Andrus Adamchik (JIRA): "[JIRA] Created: (CAY-693) DataContext should not return HOLLOW objects in response to ObjectIdQuery()"

    Extra argument needed in ObjectContext.prepareForAccess - whether the property is a fault or not.
    -------------------------------------------------------------------------------------------------

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

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

    Extra argument needed in ObjectContext.prepareForAccess - whether the property is a fault or not. With the faulting mechanism moved out of the objects into the ClassDescriptors, ObjectContext.prepareForAccess must ensure that a property being accessed is resolved. If this operation would require a descriptor lookup, it will make access to simple properties slower. So adding a hint to the method signature seems like a better solution.

    NOTE THAT THIS AFFECTS CLIENT CODE TEMPLATES, SO CODE GENERATION RUN WILL BE NEEDED ONCE THIS IS FIXED.

    -- 
    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 : Sat Oct 14 2006 - 19:04:21 EDT