HHH-17827 Fix check for Map dynamic entity classes
This commit is contained in:
parent
bb88d3244b
commit
e8252cb4a8
|
@ -665,7 +665,7 @@ public class JpaMetamodelImpl implements JpaMetamodelImplementor, Serializable {
|
|||
|
||||
final Class<?> javaTypeClass = persistentClass.getMappedClass();
|
||||
final JavaType<?> javaType;
|
||||
if ( javaTypeClass == null || Map.class.isAssignableFrom( javaTypeClass ) ) {
|
||||
if ( javaTypeClass == null || javaTypeClass == Map.class ) {
|
||||
// dynamic map
|
||||
javaType = new DynamicModelJavaType();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue