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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira