type analysis for HQL (1)
Embedded HQL queries are currently not checked, and there is no type information being attached.
The result type is incorrect for a query such as:Submitted by Danny Groenewegen on 13 September 2010 at 10:34
select t from Issue as i left join i.tags as t
Perhaps an idea to disable type checking of HQL queries until this issue is fixed? No type check is better than an incorrect one. Would be nice to use these queries at 'my own risk'.
I've removed the cast check in the specific case of casting a query to allow working around current limitations:
(select t from Issue as i left join i.tags as t) as List<Tag>
Another problem:var subs := select sub from AssignmentSubmission as sub where sub.assignment = ~this and sub.student = ~student;
error when 'as sub' left out.
Log in to post comments