[hibernate-issues] [Hibernate-JIRA] Created: (HHH-4091) HQLTest#testDuplicateImplicitJoinInSelect

Steve Ebersole (JIRA) noreply at atlassian.com
Mon Aug 17 13:35:14 EDT 2009


HQLTest#testDuplicateImplicitJoinInSelect
-----------------------------------------

                 Key: HHH-4091
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4091
             Project: Hibernate Core
          Issue Type: Bug
          Components: testsuite
            Reporter: Steve Ebersole
            Assignee: Steve Ebersole


An assertion in HQLTest#testDuplicateImplicitJoinInSelect is currently incorrect, because the classic translator does not handle it correctly:

select an.mother.bodyWeight from Animal an join an.mother m where an.mother.bodyWeight > 10

The explicit join (join an.mother m) and the implicit join (an.mother.bodyWeight ) should result in separate SQL joins.  The classic translator is using the same SQL join for all.

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