[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2771) Column alias not unique using multiple LEFT JOIN FETCHs
Michael Landon (JIRA)
noreply at atlassian.com
Tue Aug 28 15:06:23 EDT 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_27966 ]
Michael Landon commented on HHH-2771:
-------------------------------------
Here's the debug output from stdout:
Hibernate: select zonesconta0_.ZoneID as ZoneID0_0_, others1_.OtherID as OtherID2_1_, zonesconta0_.ZoneName as ZoneName0_0_, zones2_.ApprovalID as ApprovalID1__, zones2_.ZoneID as ZoneID1__, others1_.ZoneID as ZoneID2_1_, others1_.OtherName as OtherName2_1_, others1_.OtherID as OtherID0__, zones2_.ApprovalID as ApprovalID1__, zones2_.ZoneID as ZoneID1__ from mdlandon_zones_container zonesconta0_ left outer join mdlandon_other_container others1_ on zonesconta0_.ZoneID=others1_.OtherID left outer join mdlandon_approval_zone zones2_ on zonesconta0_.ZoneID=zones2_.ApprovalID
> Column alias not unique using multiple LEFT JOIN FETCHs
> -------------------------------------------------------
>
> Key: HHH-2771
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2771
> Project: Hibernate3
> Issue Type: Bug
> Components: query-sql
> Affects Versions: 3.2.4.sp1
> Environment: Hibernate version 3.2.4.sp1, SQLAnywhere 9.0.2.3342
> Reporter: Michael Landon
> Priority: Minor
> Attachments: reproduce.zip
>
>
> Using an HQL statement in which you LEFT JOIN FETCH a mixture of entity sets and a set of element values (e.g., integers), the resulting SQL includes non-unique aliases.
--
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