データをJDOに格納・更新・削除する場合について

Insertは
Model model = new Model();
model.setXxx(...);
...
tx.begin();
pm.makePersistent(model);
tx.commit();
Updateは
tx.begin();
Model model = pm.getObjectById(Model.class, id);
model.setXxx(...);
tx.commit();
Deleteは
tx.begin();
Model model = pm.getObjectById(Model.class, id);
pm.deletePersistent(model);
tx.commit();
で処理するのは、JDOとして標準的なやり方です。
makePersistent()は、newしたモデルをpersistentするときか
detachedなモデルをpersistent状態にするときに使うもので、
それ以外で使うものではありません。
getObjectById()で取得したモデルはpersistentな状態です。

Google グループ