]
Steve Ebersole closed HHH-354.
------------------------------
Closing stale resolved issues
property named "full" breaks HQL queries
----------------------------------------
Key: HHH-354
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-354
Project: Hibernate Core
Issue Type: Bug
Components: core
Affects Versions: 3.0 final
Environment: Hibernate 3.0, Oracle 9, JDK 1.5
Reporter: Tim McCune
Assignee: Joshua Davis
Priority: Minor
Fix For: 3.1 beta 1
Hibernate doesn't seem to be able to parse an HQL query that references a property
named "full". I assume this is because "full" is a keyword in HQL,
but the parser should be smart enough to realize that if "full" is preceded by a
".", then it's a property name. For instance, the HQL query "select
bar.foo from Bar bar where bar.full = true" causes a "QuerySyntaxError:
unexpected AST node: ." at the index of the . in "bar.full"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: