cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Gentry" <blackn...@gmail.com>
Subject Re: Loading small tables into memory for the application lifetime
Date Mon, 30 Jun 2008 15:11:47 GMT
OK, thanks.  I wasn't certain of that by any means and am too buried
in other stuff to look it up.

The pattern of using a dedicated DataContext for the small/cached
tables and using localObject to make joins to them would still apply,
though.

mrg


On Mon, Jun 30, 2008 at 10:49 AM, Andrus Adamchik
<andrus@objectstyle.org> wrote:
>
> On Jun 30, 2008, at 5:45 PM, Michael Gentry wrote:
>
>> I think in Cayenne 3 that it'll automatically pull an object
>> into the DataContext if it exists in another DataContext.
>
> Not true. (well only true for transient unregistered objects). Generally you
> still need to use 'localObject'.
>
> Andrus
>
>

Mime
View raw message