|
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
|