Sorry, yeah it was a little radical. I started with intent to remove
references to the query name used as a cache key, and noticed that a
number of other things were incorrect. I was unsure how to just strip
the inaccuracies and still preserve the document flow. So I went with
a slash and burn (which would've been justified if I'd provided an
equivalent replacement).
So yeah, let's revert the page, and maybe I'll take another shot at a
more comprehensive rewrite of this chapter (sometime in the future...).
Andrus
On Oct 18, 2008, at 5:12 AM, Aristedes Maniatis wrote:
>
> On 18/10/2008, at 12:24 AM, confluenc..pache.org wrote:
>
>> I think a lot of info on this page was misleading. Now that I've
>> been working on CAY-1127, I figured I'd remove things that look
>> dubious... Still need to write a decent caching chapter.
>
> That's pretty slash and burn... I think that perhaps some useful
> bits of information got lost in that edit. For example:
>
>> This cache is defined on per application basis in the [Cayenne
>> model | configuring caching behavior]. A single number configured
>> in the model defines the total number of records (of every type of
>> entity) which can be stored within the cache.
>
> Is that no longer the case? If we bring this text back, I'll add a
> small screenshot.
>
>> Query caches can be shared between all the queries within the
>> context (LOCAL_CACHE) or between contexts (SHARED_CACHE).
>> SHARED_CACHE does not work in ROP Cayenne.
>>
>> Behind the scenes, for a LOCAL_CACHE Cayenne stores objects or
>> DataRows (depending on which kind the query fetched), and for a
>> SHARED_CACHE it stores DataRows which are converted to the target
>> context objects on every cache hit.
>
>
> Is this now incorrect?
>
>> Refresh query is still being developed and further information can
>> be found [here | refreshquery].
>
>
> We lost the link to the refresh query page without this text.
>
>
> Unless you have an objection I'd like to try rewriting that page.
> Please let me know if anything of the above text is incorrect.
>
>
> Ari
>
> -------------------------->
> Aristedes Maniatis
> phone +61 2 9660 9700
> PGP fingerprint 08 57 20 4B 80 69 59 E2 A9 BF 2D 48 C2 20 0C C8
>
>
>
This archive was generated by hypermail 2.0.0 : Sat Oct 18 2008 - 02:15:54 EDT