cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <>
Subject [jira] Updated: (CAY-1250) Prefetching doesn't work with prefetched subentity
Date Fri, 17 Jul 2009 05:48:14 GMT


Andrus Adamchik updated CAY-1250:

    Assignee: Andrus Adamchik

Thanks for the feedback. Ok, looks like I should investigate how your scenario plays out with
my last batch of changes, and possibly revert/adjust it.

> Prefetching doesn't work with prefetched subentity
> --------------------------------------------------
>                 Key: CAY-1250
>                 URL:
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Cayenne Core Library
>    Affects Versions: 2.0 branch, 3.0M6
>            Reporter: Donald Vrakking
>            Assignee: Andrus Adamchik
> Two entities;  A->B in a n:1 relation, B has a subentity. When prefetching B, the
toOneFault on A isn't updated with the prefetched B. When B is accessed from A, an additional
query is still executed to get B.
> It makes no difference if A has subentities or not.
> This occurs in 2.0.4 with a disjoint and joint prefetch. With 3.0M6 it only occurs when
using a disjoint prefetch.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message