HHH-13823 Add setters for two of the properties of EntityIdentityInsertAction

This is needed by hibernate-rx.
This commit is contained in:
gavinking 2020-01-20 17:06:53 +01:00 committed by Sanne Grinovero
parent a0f9b1df00
commit e5f8341aa4
1 changed files with 8 additions and 0 deletions

View File

@ -214,6 +214,10 @@ public class EntityIdentityInsertAction extends AbstractEntityInsertAction {
return generatedId;
}
protected void setGeneratedId(Serializable generatedId) {
this.generatedId = generatedId;
}
/**
* Access to the delayed entity key
*
@ -237,6 +241,10 @@ public class EntityIdentityInsertAction extends AbstractEntityInsertAction {
return entityKey != null ? entityKey : delayedEntityKey;
}
protected void setEntityKey(EntityKey entityKey) {
this.entityKey = entityKey;
}
private static DelayedPostInsertIdentifier generateDelayedPostInsertIdentifier() {
return new DelayedPostInsertIdentifier();
}