> On Oct 27, 2011, at 1:02 PM, Durchholz, Joachim wrote:
> 
>> Hmm... that means when the parent exists but not the grandparent, accessing 
>> the grandparent does not get the parent into the object cache.
> 
> Not sure I understand what scenario you are talking about. 
> o.getRelated().getRelated() would certainly get the intermediate object in 
> the cache.

When accessing/filtering via path expressions.
(See http://cayenne.apache.org/doc/path-expressions.html )
I was assuming that your mention of "relationships is always done via an INNER 
join" includes references expressed as path expressions.

Regards,
Jo

Reply via email to