You are probably binding something within the related tables. The faults
are then firing and then it is fetching from those tables.
Check all you .wod files for bindings to the relationships
-dave
Cengiz Kayay wrote:
> Hi all,
>
> In my eomodel I have a main table and this has many-to-many and
> one-to-many relations all over.
> Evertime I fetch the main table It generates the sql that will also
> fetch from the relations. Is there any way just to specify which
> relations to fetch which ones not to fetch, and sometimes to fetch only
> the main table leaving all relations untouched.
> I used setIsDeep with FetchSpecification, that does not seem to work.
>
> Thanks a lot.
> Get Your Private, Free Email at http://www.hotmail.com