HHH-3164 HHH-1575 InExpression was populating parameters in the wrong order.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18027 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
1ca018960e
commit
5b6a8eee07
|
@ -70,8 +70,8 @@ public class InExpression implements Criterion {
|
||||||
if ( type.isComponentType() ) {
|
if ( type.isComponentType() ) {
|
||||||
AbstractComponentType actype = (AbstractComponentType) type;
|
AbstractComponentType actype = (AbstractComponentType) type;
|
||||||
Type[] types = actype.getSubtypes();
|
Type[] types = actype.getSubtypes();
|
||||||
for ( int i=0; i<types.length; i++ ) {
|
|
||||||
for ( int j=0; j<values.length; j++ ) {
|
for ( int j=0; j<values.length; j++ ) {
|
||||||
|
for ( int i=0; i<types.length; i++ ) {
|
||||||
Object subval = values[j]==null ?
|
Object subval = values[j]==null ?
|
||||||
null :
|
null :
|
||||||
actype.getPropertyValues( values[j], EntityMode.POJO )[i];
|
actype.getPropertyValues( values[j], EntityMode.POJO )[i];
|
||||||
|
|
Loading…
Reference in New Issue