[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-3538) Criteria.createAlias/Criteria.createCriteria forces join fetching of association

Steve Ebersole (JIRA) noreply at atlassian.com
Tue Nov 4 09:13:05 EST 2008


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole updated HHH-3538:
--------------------------------

             Assignee: Steve Ebersole
          Description: 
The underlying cause is an invalid assumption made in JoinWalker that every association found in its association member list is to be fetched (added to the select fragment).  



  was:
The JoinWalker creates for all given associations a select fragment. An associations should have a flag, if it is necessary to be included on the select fragment. If you need an association only for a specific where fragment why should it be fetched?



    Affects Version/s: 3.2.6
        Fix Version/s: 3.4
                       3.3.x
                       3.2.x
              Summary: Criteria.createAlias/Criteria.createCriteria forces join fetching of association  (was: Unnecessary complete select fragment for all associations)

> Criteria.createAlias/Criteria.createCriteria forces join fetching of association
> --------------------------------------------------------------------------------
>
>                 Key: HHH-3538
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3538
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: query-criteria
>    Affects Versions: 3.2.6, 3.3.1
>            Reporter: Hauke Rabe
>            Assignee: Steve Ebersole
>             Fix For: 3.2.x, 3.3.x, 3.4
>
>
> The underlying cause is an invalid assumption made in JoinWalker that every association found in its association member list is to be fetched (added to the select fragment).  

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

        



More information about the hibernate-issues mailing list