if (obj instanceof ReflectingPersistenceCapable)
obj = ((ReflectingPersistenceCapable)obj).getManagedInstance();
if (value == obj) {
Row newRow = (Row) ((RowImpl)row).clone();
Object keyObj = entry.getKey();
Strategy strat = fm.getStrategy();
if (strat instanceof HandlerRelationMapTableFieldStrategy) {
HandlerRelationMapTableFieldStrategy hrStrat =
(HandlerRelationMapTableFieldStrategy) strat;
hrStrat.setKey(keyObj, store, newRow);
} else if (keyObj instanceof PersistenceCapable) {