4 Replies Latest reply on Oct 29, 2007 9:02 AM by Yenan Zhou

    Eager loading in EntityQuery

    Yenan Zhou Newbie

      I'm wondering if this is possible. I'm using EntityQuery in Seam Application Framework.

      Say, I want to page query for Comment entity, but when I show comments for an article, I need the name of the user who contributed this comment, and this information is in my User entity.

      The consequence is n+1 queries. How to avoid this?