PL-8173 For identity-ID entity in composition, edit right after create yields another instance

This commit is contained in:
Konstantin Krivopustov 2016-11-09 12:36:14 +04:00
parent 06cdbde496
commit 55d782992c

View File

@ -38,6 +38,7 @@ public abstract class BaseDbGeneratedIdEntity extends BaseGenericIdEntity<IdProx
@Override
public void setId(IdProxy idProxy) {
this.idProxy = idProxy;
setDbGeneratedId(idProxy.get());
}