On 17 Dez., 23:11, "Ikai L (Google)" <ika...@google.com> wrote: > When you say it doesn't work, do you mean that it does not retrieve the > entity?
right, no entity was found. Can you try creating a Key with the id instead of passing the ID > directly? > > http://code.google.com/appengine/docs/java/javadoc/com/google/appengi... > > That is, try KeyFactory.createKey(myEntity.class.getName(), keyId); > I tried that out and received a javax.jdo.JDOFatalUserException: Exception converting com.myclass ("agh0ZXN0NDcxM3IWCxIGV2luZXJ5GAEMCxIEV2luZRgCDA") to an internal key. at org.datanucleus.store.appengine.jdo.DatastoreJDOPersistenceManager.getObjectById (DatastoreJDOPersistenceManager.java:66) at org.datanucleus.jdo.JDOPersistenceManagerProxy.getObjectById (JDOPersistenceManagerProxy.java:373) .... thanks for your support -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.