[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5282?page=c...
]
Gail Badner resolved HHH-5282.
------------------------------
Assignee: Gail Badner
Resolution: Duplicate
Thanks for the test case. I'm resolving this as a duplicate of HHH-4881 because that
issue has more votes (which increases visibility).
Query Parameters not supported for Entity Type Expression
---------------------------------------------------------
Key: HHH-5282
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5282
Project: Hibernate Core
Issue Type: Bug
Components: entity-manager
Affects Versions: 3.5.2
Reporter: Simon Martinelli
Assignee: Gail Badner
Attachments: query-test-type-expression.patch
Trying to use Entity Type Expression with query parameter result in an exception:
org.hibernate.hql.ast.QuerySyntaxException: unexpected token: : near line 1, column 90
[select k from ch.bkw.zlsc.domain.stammdaten.vse.VSEStatistikKategorie k where TYPE(k) in
:typs and k.sortierung like :keyword]
Using dynamic query instead of parameters works.
--
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