[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1191?page=c...
]
Steve Ebersole closed HHH-1191.
-------------------------------
Closing stale resolved issues
HQL fails backward compatibility using classic translator
---------------------------------------------------------
Key: HHH-1191
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1191
Project: Hibernate Core
Issue Type: Bug
Components: core
Affects Versions: 3.1 rc3
Reporter: Marc Lustig
Assignee: Steve Ebersole
Priority: Critical
Fix For: 3.1
with current HEAD the following statement fails:
hsession.createQuery("from StUserdaten as b where b.login = ?");
org.hibernate.HibernateException: ordinal parameter mismatch
at
org.hibernate.engine.query.HQLQueryPlan.buildParameterMetadata(HQLQueryPlan.java:214)
at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:94)
at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:53)
at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:71)
at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:108)
at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:88)
The query was build perfectly fine with hibernate 3.0.5 !
--
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