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
b1885184e6
commit
3fcb58646b
|
@ -660,7 +660,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