[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5508) setFetchMode() ignore incorect path

Lorber Sebastien (JIRA) noreply at atlassian.com
Thu Jun 23 04:13:54 EDT 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42699#action_42699 ] 

Lorber Sebastien commented on HHH-5508:
---------------------------------------

It would be great to have this fixed


> setFetchMode() ignore incorect path
> -----------------------------------
>
>                 Key: HHH-5508
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5508
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: core, query-criteria
>    Affects Versions: 3.2.0.ga, 3.5.5, 3.6.0.Beta3
>            Reporter: Adrien
>            Assignee: Gail Badner
>         Attachments: CriteriaImpl.java, SessionImpl.java
>
>
> In a criteria, call to setFetchMode() with an incorect path don't throw any exception. Hibernate just ignore it. 
> That mean that some optimisation we expect won't append, and because of lazy initialization, everything may look to work fine, except it will run much slower.
>   Adrien

-- 
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