fixing org.hibernate.test.discriminator.SimpleInheritanceTest test failure
This commit is contained in:
parent
c0c89697bd
commit
8ee2bfce64
|
@ -1219,9 +1219,8 @@ public class Binder {
|
||||||
EMPTY_PROPERTIES
|
EMPTY_PROPERTIES
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
|
attributeBinding.getHibernateTypeDescriptor().setResolvedTypeMapping( resolvedType );
|
||||||
if ( resolvedType != null ) {
|
|
||||||
pushHibernateTypeInformationDownIfNeeded( attributeBinding, resolvedType );
|
pushHibernateTypeInformationDownIfNeeded( attributeBinding, resolvedType );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1232,7 +1231,9 @@ public class Binder {
|
||||||
}
|
}
|
||||||
String typeName = determineTypeName( hibernateTypeDescriptor );
|
String typeName = determineTypeName( hibernateTypeDescriptor );
|
||||||
Properties typeParameters = getTypeParameters( hibernateTypeDescriptor );
|
Properties typeParameters = getTypeParameters( hibernateTypeDescriptor );
|
||||||
return getHeuristicType( typeName, typeParameters );
|
Type type = getHeuristicType( typeName, typeParameters );
|
||||||
|
hibernateTypeDescriptor.setResolvedTypeMapping( type );
|
||||||
|
return type;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static String determineTypeName(HibernateTypeDescriptor hibernateTypeDescriptor) {
|
private static String determineTypeName(HibernateTypeDescriptor hibernateTypeDescriptor) {
|
||||||
|
|
Loading…
Reference in New Issue