[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-2177) No easy way to add "join fetch" in ejbql in EntityQuery

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Oct 29 12:09:01 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-2177?page=all ]

Pete Muir closed JBSEAM-2177.
-----------------------------

    Resolution: Duplicate Issue

> No easy way to add "join fetch" in ejbql in EntityQuery
> -------------------------------------------------------
>
>                 Key: JBSEAM-2177
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2177
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 2.0.0.BETA1
>            Reporter: Yenan Zhou
>
> There is no easy way to add "join fetch" in ejbql in EntityQuery.  The renderedEjbql is correct, but to count the number of the result, it gave: "select count(*) from A a inner join fetch a.b where ......", which was wrong.   The countEjbql is calculated based on ejbql supplied by user, but the calculation didn't take "join fetch" issue into account.  But that is crucial to avoid n+1 problem.        
> Extension is possible, but is hardly clean.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list