[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-5282) Query Parameters not supported for Entity Type Expression
Gail Badner (JIRA)
noreply at atlassian.com
Tue Jun 8 12:08:10 EDT 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gail Badner updated HHH-5282:
-----------------------------
Component/s: entity-manager
Please do the following:
* checkout the trunk version http://anonsvn.jboss.org/repos/hibernate/core/trunk
* update or add a test in entitymanager/src/test/ to reproduce your issue
* update org.hibernate.ejb.AbstractQueryImpl.java with your fix
* create two patches using "svn diff" (one for your test and one for your fix), and attach to this issue
Thanks,
Gail
> 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
>
> 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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list