foreignKeyFields[i].setValueInternal(ctx, null, fkConstraint == null);
}
if (fkConstraint != null) {
PersistentContext pctx = (PersistentContext) ctx.getPersistenceContext();
pctx.nullForeignKey(fkConstraint);
}
}
public void addRelatedId(CmpEntityBeanContext ctx, Object relatedId) {
final boolean markDirty = relatedId != null || fkConstraint == null;