Re: Caching update

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Mon Feb 13 2006 - 11:28:52 EST

  • Next message: Cris Daniluk: "Re: Caching update"

    The only difference I see compared to Cayenne test cases is that
    "refreshingObjects" set to "false". So I flipped that flag in the
    test DataMap and re-ran the tests, and it still works. Very strange.

    > 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)

    Yeah, also discovered this one last night. It is fixed already.

    I guess I'll go ahead with the release, and if we trace CAY-444
    problem to Cayenne, we'll do another release.

    Andrus

    On Feb 13, 2006, at 10:27 AM, Cris Daniluk wrote:
    > 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.



    This archive was generated by hypermail 2.0.0 : Mon Feb 13 2006 - 11:28:56 EST