Hi there! Using JDO on GAE/J
PersistenceManager pm = PMF.get().getPersistenceManager(); Key key = KeyFactory.createKey(MyEntity.class.getSimpleName(), "t...@example.com"); MyEntity myEntity = pm.getObjectById(MyEntity.class, key); When there is no entity matching the key, it throws JDOObjectNotFoundException. Is there no other way, than catching the Exception (JDOObjectNotFoundException) - like checking for existence of Entity before calling getObjectById? Regards Chris -- 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.