//call the attach method on the po
sp.speedoGetHome().attachCopy(sp, this, map, detached, sar);
// if made persistent in this method
// restore the state to detached_none
if (oid == null) {
sar.restoreDetachedNone();
}
//change the version on attach
sar.speedoChangeVersion();
sp.speedoGetHome().sendEvent(HomeItf.POST_ATTACH, sp, null);
return sp;