[JIRA] Created: (CAY-664) Simplify EntityResolver serialization

From: Tore Halset (JIRA) ("Tore)
Date: Sat Sep 23 2006 - 15:21:49 EDT

  • Next message: Andrus Adamchik: "[VOTE] Take 2 - Cayenne 2.0.1-incubating release"

    Simplify EntityResolver serialization
    -------------------------------------

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

      Components: Cayenne Core Library
        Reporter: Tore Halset
     Assigned to: Tore Halset
        Priority: Minor
         Fix For: 3.0

    EntityResolver are serialized and sent to the ROP client. It has 5 Maps with cache in their name that are also serialized and sent to the client. As far as I know, they are not needed as the client will fill the caches.

    It is also inconsistent as the cache Maps can be empty for the first connect and filled at a later point in time.

    It also makes hessian debugging difficult as hessian uses object refs a lot for the EntityResolver with all the cache Maps as it has multiple refs to the same object.

    This should be solved by marking the cache Maps transient.

    -- 
    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 Sep 23 2006 - 15:25:36 EDT