[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2473) fetch="join" and property-ref
Andrés Margalef (JIRA)
noreply at atlassian.com
Wed May 25 09:49:25 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42402#action_42402 ]
Andrés Margalef commented on HHH-2473:
--------------------------------------
This problem also occurs in version 3.6.2.Final
> fetch="join" and property-ref
> -----------------------------
>
> Key: HHH-2473
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2473
> Project: Hibernate Core
> Issue Type: Improvement
> Affects Versions: 3.2.1
> Environment: Version 3.2.1, not DB dependant
> Reporter: David CLEMENT
>
> When Hibernate does a fetch join with a property-ref in a many-to-one, it issues the join SQL query but needs another select to find the associated entity by property-ref.
> It should be able to use the entity fetched in the join instead (maybe this has been done to ensure the unicity of the associated entity, but it introduce a performance issue).
--
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