[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1736?page=comments#action_23070 ]
Max Rydahl Andersen commented on HHH-1736:
------------------------------------------
Now I remember why this is not supported (yet).
For single-column joins we have {col_alias.element} which will be replaced with the join alias.
The issue occurs when you have multiple column, now there is no real alias name to use since
we need multiple names.
I suggest that we allow something like:
{col_alias.element[0]}
{col_alias.element[1]}
or
{col_alias.element.0}
{col_alias.element.1}
> Associations based on multiple columns/composite keys is not possible to load with native sql query
> ---------------------------------------------------------------------------------------------------
>
> Key: HHH-1736
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1736
> Project: Hibernate3
> Type: Bug
> Components: core
> Versions: 3.2.0.cr2
> Reporter: Max Rydahl Andersen
> Assignee: Max Rydahl Andersen
> Priority: Critical
>
>
--
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
|