HQL Queries with projection and join fetching fail with AST query translator
Description
Environment
None
Attachments
1
Activity
Show:

Fabio Maulo May 14, 2009 at 7:43 AM
I'm impressed!!!
It is working with classic-parser... today I learn something more.

Fabio Maulo May 14, 2009 at 7:38 AM
this is not a bug.
Projection and 'join fetch' are incompatible.

Sean Carpenter May 11, 2009 at 11:17 AM
Test demonstrating the issue.
Fixed
Details
Details
Assignee

Reporter

Components
Fix versions
Affects versions
Priority
Who's Looking?
Open Who's Looking?
Created May 11, 2009 at 11:14 AM
Updated July 22, 2009 at 7:21 AM
Resolved May 14, 2009 at 7:53 AM
Who's Looking?
When an HQL query contains both projection and join fetching, parsing of the query fails with the AST query translator, but succeeds with the classic query translator. A test is attached which reproduces the error. The test passes when switched to the classic translator.