]
Steve Ebersole updated HHH-4567:
--------------------------------
Priority: Minor (was: Major)
EntiytManager's QueryImpl mishandles ordinal position of
HQL-style positional parameters
----------------------------------------------------------------------------------------
Key: HHH-4567
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4567
Project: Hibernate Core
Issue Type: Bug
Components: entity-manager
Affects Versions: 3.5.0.Beta-1, 3.5.0-Beta-2
Reporter: Steve Ebersole
Assignee: Steve Ebersole
Priority: Minor
Fix For: 3.5
Even though JPAQL does not allow such a syntax, HQL allow JDBC-style positional
parameters to be used (? as opposed to ?1 which JPA requires). Currently there is a bug
in org.hibernate.ejb.QueryImpl which mishandles the ordinal position for these parameters
causing them to be "off by one".
The symptom is an error like : java.lang.IllegalArgumentException: Unable to locate
parameter with position [1]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: