parent
e79d5d4b39
commit
b87d2046ad
|
@ -207,7 +207,7 @@ public class MetamodelImpl implements Metamodel, Serializable {
|
||||||
type = embeddables.get( cls );
|
type = embeddables.get( cls );
|
||||||
}
|
}
|
||||||
if ( type == null ) {
|
if ( type == null ) {
|
||||||
throw new IllegalArgumentException( "Not an managed type: " + cls );
|
throw new IllegalArgumentException( "Not a managed type: " + cls );
|
||||||
}
|
}
|
||||||
return (ManagedType<X>) type;
|
return (ManagedType<X>) type;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue