[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-2534) better error message for illegal 'collection dereference' in HQL query
Steve Ebersole (JIRA)
noreply at atlassian.com
Thu Mar 29 15:22:05 EDT 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Ebersole closed HHH-2534.
-------------------------------
Resolution: Fixed
trunk / 3.2
> 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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list