AppEngine datastore: “Object with id … is managed by a different Object Manager”

后端 未结 3 1507
灰色年华
灰色年华 2020-12-10 13:50

I\'m using the Google AppEngine, with Java. When I use some datastore features, I\'m getting an error message:

Object with id \"edvaltt.Teacher@64064b\" i         


        
3条回答
  •  鱼传尺愫
    2020-12-10 14:17

    DataNucleus,

    Thank you for the pm.close(); tip. I was making a query with one em

    em = EMF.get().createEntityManager();

    and making a commit with another one without closing the first one.

提交回复
热议问题