[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1423?page=c...
]
Juan Antonio Agudo commented on HHH-1423:
-----------------------------------------
I am using 3.2.2.ga and it's still not fixed. A simple query like this one is
sufficient to break the parser: "select p from Poll p order by p.createDate asc limit
?"
Exception reads:
org.hibernate.HibernateException: ordinal parameter mismatch
at org.hibernate.engine.query.HQLQueryPlan.buildParameterMetadata(HQLQueryPlan.java:275)
at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:97)
at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:56)
at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:72)
at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:133)
at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:112)
at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1623)
ParameterParser bug - ordinal parameter mismatch
-------------------------------------------------
Key: HHH-1423
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1423
Project: Hibernate3
Issue Type: Bug
Components: query-hql
Affects Versions: 3.1.2
Environment: Windows XP SP2, JDK 1.5.0_06-b05, Spring 1.2.6, antlr-2.7.6rc1
Reporter: Artur Wronski
Priority: Critical
Attachments: HHH1423Test.java, ParameterParser.2.patch, ParameterParser.3.patch,
ParameterParser.patch, RecognizerBug.java
There is still problem with ParameterParser. The same was in Hibernate 3.1.1
Runnable TestCase in attachment.
--
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