1 Reply Latest reply on Jul 30, 2007 4:59 AM by Damian Harvey

    cannot simultaneously fetch multiple bags

    Ning Zhao Apprentice

      I have an entity class Food. It has a many-to-one field called "foodGroup", this will be eagerly fetched by default, and I do want it to be eagerly fetched. Another one-to-many field called "nutrients" is supposed to be eagerly fetched too. But I got an exception saying "cannot simultaneously fetch multiple bags". How to get rid of this problem? I want eager fetches but no lazy, thanks!