// 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;
} catch (Exception e) {
Exception ie = ExceptionHelper.getNested(e);
String msg = "Impossible to attach a copy of the persistent object with the identifier: " + oid;