Maybe I have to transplant to Castor JDO >>
<< 现在头痛
Just try to evict the note

Author Zhou Renjian Create@ 2004-11-01 20:58
whizz Note icon
Evicting the newly-created note will force the PM to retrieve the note the next time it's visited or reached:
        pm.currentTransaction().commit();
        if (nt != null) {
            pm.evict(note);
        }
//            pm.retrieve(nt);
        return newNoteID;

本记录所在类别:
本记录相关记录: