[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3385) Unable to join fetch a key-many-to-one with Criteria API

Julien HENRY (JIRA) noreply at atlassian.com
Fri Jul 11 03:22:12 EDT 2008


Unable to join fetch a key-many-to-one with Criteria API
--------------------------------------------------------

                 Key: HHH-3385
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3385
             Project: Hibernate3
          Issue Type: Bug
          Components: query-criteria
    Affects Versions: 3.3.x
         Environment: Latest Hibernate trunk
            Reporter: Julien HENRY
         Attachments: key-many-to-one-fetch.patch

Using setFetchMode("xxx", FetchMode.JOIN) on a key-many-to-one attribute has no result. I'm unable to force initialisation with one query.

Please find attached test case.

It is very important for me because I'm working on a legacy DB model full of key-many-to-one attributes.

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