I look the below link and use QueryMetadata.NO_CACHE but the result is not
change. Maybe I can forget somethings. I use the SelectQuery and setCachePolicy
(QueryMetadata.NO_CACHE).
This seems to be refresh the query only once not many for running the query
with changing the database entities.
>
> Kimden: Andrus Adamchik <andru..bjectstyle.org>
> Tarih: 2006/02/15 Wed AM 10:22:18 GMT+02:00
> Kime: cayenne-use..bjectstyle.org
> Konu: Re: Query Bug on cayenne-1.2M11
>
> Hi,
>
> this is not a bug, it's a feature. Refreshing configuration works
> differently in M11. See UPGRADE-NOTES in the release and also
> "Upgrading to Cayenne 1.2 and Newer" panels on this page:
>
> http://objectstyle.org/confluence/display/CAYDOC/Caching+Query+Results
>
> Andrus
>
>
> On Feb 15, 2006, at 9:13 AM, <emre.yilma..r.net>
> <emre.yilma..r.net> wrote:
>
> > Hi,
> >
> > cayenne-1.2M11 has a bug which I not encountered with 1.2 M6. In
> > SelectQuery or
> > namedQuery refreshingObjects returns true value when update the
> > first time of
> > database entity. But seconds and other updates result same with the
> > first
> > updated data.
> >
> >
> >
>
>
>
This archive was generated by hypermail 2.0.0 : Wed Feb 15 2006 - 10:58:29 EST