mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-10 05:04:52 +00:00
HHH-16784 Always resolve generic interface classes to Object type
This commit is contained in:
parent
2f69b704d1
commit
e272e012d2
@ -227,8 +227,7 @@ public MutabilityPlan getMutabilityPlan() {
|
||||
return createBasicTypeResolution( legacyType, typeImplementorClass, indicators, typeConfiguration );
|
||||
}
|
||||
|
||||
if ( indicators.getEnumeratedType() != null ) {
|
||||
assert typeImplementorClass.isInterface();
|
||||
if ( typeImplementorClass.isInterface() ) {
|
||||
return createBasicTypeResolution( new JavaObjectType(), typeImplementorClass, indicators, typeConfiguration );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user