Menu

what meaning

2005-05-11
2013-03-07
  • Nobody/Anonymous

    Cache: ObjectsLoading turned off so now resetting m_originalobject for all cache entries

     
    • Richard Banks

      Richard Banks - 2005-05-12

      It's a debug message related to how the cache is operating.

      While an object is loading (via a retrieve/find, etc) it is stored in the cache in an incomplete state.  This is done to handle circular links in object associations.

      When an object is retrieved from the cache it normally returns a copy of the object, however while an object is loading we return a reference to the object itself so that associations can be correctly set.

      Once the object loading is complete the cache behaviour returns to normal.  At this pointwe make copies of all the objects so that we can correctly generate there where clause in SQL update statements when timestamps are used.

      The message is just an indication that this is occuring.

       

Log in to post a comment.