Re: Cache problem

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Fri Feb 10 2006 - 10:40:48 EST

  • Next message: emre.yilma..r.net: "Żlgi:Re:Cache problem"

    This may be a bug. What type of query (SelectQuery, SQLTemplate or
    ProcedureQuery) and what version of Cayenne are you using?

    Andrus

    On Feb 10, 2006, at 10:31 AM, <emre.yilma..r.net>
    <emre.yilma..r.net> wrote:
    > Hi,
    >
    > Is there any way to load the objects in dataContext and then make
    > query in
    > objects stored in context without connecting database each time
    > (Local cache)?
    > I store the objects in context but when I use the named query with
    > local cache
    > and setRefreshingObjects(false),cayenne returns the same object
    > with a diffent
    > query parametre .This probably causing from setRefreshingObjects
    > (false) Why
    > setRefreshingObjects(false) make the named query results same for
    > different
    > parameters of query. Is there any solution.
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Fri Feb 10 2006 - 10:40:50 EST