HHH-18338 o.h.UnknownEntityTypeException: Unable to locate persister thrown when an embeddable object is loaded before the entity it references
This commit is contained in:
parent
287bda68a0
commit
63171d365a
|
@ -676,7 +676,7 @@ public abstract class AbstractEntityPersister
|
|||
else {
|
||||
final Column column = (Column) selectable;
|
||||
colNames[k] = column.getQuotedName( dialect );
|
||||
colWriters[k] = column.getWriteExpr( prop.getValue().getSelectableType( factory, k ), dialect );
|
||||
colWriters[k] = column.getWriteExpr( prop.getValue().getSelectableType( creationContext.getMetadata(), k ), dialect );
|
||||
}
|
||||
}
|
||||
propertyColumnNames[i] = colNames;
|
||||
|
|
Loading…
Reference in New Issue