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:
Andrea Boriero 2024-07-11 13:31:48 +02:00 committed by Christian Beikov
parent d363a188ab
commit d1313b677b
1 changed files with 1 additions and 1 deletions

View File

@ -649,7 +649,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;