better error message for illegal 'collection dereference' in HQL query
----------------------------------------------------------------------
Key: HHH-2534
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2534
Project: Hibernate3
Issue Type: Improvement
Components: query-hql
Reporter: Steve Ebersole
Assignee: Steve Ebersole
Priority: Minor
Fix For: 3.2.3
Currently, when a user dereferences a collection improperly in an HQL query, a sorta
cryptic error message is given which is a hold-over from the classic parser days (kept for
regression testing in HQLTest). The error just says "illegal syntax near collection:
${propertyName}".
Use a delegate in DotNode to allow a better error message by default, but for HQLTest to
plugin a "classic" style error message generator.
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira