Re: Caching update

From: Cris Daniluk (cris.danilu..mail.com)
Date: Mon Feb 13 2006 - 10:27:39 EST

  • Next message: Kevin Menard: "Re: New Doc space"

    This just isn't working for me. I'm doing:

    DataContext dataContext = ...
    dataContext.performQuery(queryName, true);

    Query is defined:
            <query name=".."
    factory="org.objectstyle.cayenne.map.SelectQueryBuilder"
    root="obj-entity" root-name="..">
                    <property name="cayenne.GenericSelectQuery.refreshingObjects" value="false"/>
                    <property name="cayenne.GenericSelectQuery.cachePolicy" value="sharedcache"/>
            </query>

    I thought maybe the value "sharedcache" had changed, so I tried
    re-saving the map which led me to discover CAY-445 in the nightly
    (only reported since you mentioned you were ready for an M11). Anyway,
    I looked at QueryMetadata and realized it has not changed, so I'm
    going to say its not fixed.

    I will do some debugging, though.

    On 2/12/06, Cris Daniluk <cris.danilu..mail.com> wrote:
    > On 2/12/06, Andrus Adamchik <andru..bjectstyle.org> wrote:
    > > So does it still display the same symptoms as described in CAY-444?
    > >
    > Based on your description (that if I have SHARED_CACHE set, calling
    > performQuery(query, true) will temporarily switch to
    > SHARED_CACHE_REFRESH), it is not working for me.
    >
    > I will try with the nightly and see how that goes.
    >
    > Cris
    >



    This archive was generated by hypermail 2.0.0 : Mon Feb 13 2006 - 10:27:42 EST