Issue Type: Bug Bug
Affects Versions: 4.3.0.Beta3, 4.2.2
Assignee: Strong Liu
Components: core
Created: 15/Jun/13 12:54 AM
Description:

test case : org.hibernate.test.subselect.CompositeIdTypeBindingTest

this only happens when querying a composite id entity and its collections which mapped using subquery and using named parameters.

the reason is in the method : org.hibernate.loader.Loader#bindNamedParameters , the algorithm used to caculate the parameter location assumed all types are single column, so when there is a composite id, the parameter location was not correctly caculated

Fix Versions: 5.0.0, 4.2.3, 4.3.0.Beta4
Project: Hibernate ORM
Priority: Major Major
Reporter: Strong Liu
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira