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

Gérald Quintana (JIRA) noreply at atlassian.com
Fri May 15 16:35:14 EDT 2009


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

Gérald Quintana updated HHH-3538:
---------------------------------

    Attachment: hhh-3538.zip

Test case showing the problem

> 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.5
>
>         Attachments: hhh-3538.zip
>
>
> 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