SOLVED Ok, i had to pass the class of the object i was interested in, i.e. i had to use getObjectById(MyClass.class, Key).
2010/6/15 Timofey Danshin <[email protected]> > Hi. > I have a number of PersistenceCapable objects (property objects), > representing properties of other PersistenceCapable objects. I'd like to be > able to store objects in the datastore along with the keys of the property > objects, representing the properties they have. And I store those keys as > long strings (derived from KeyFactory.keyToString(Key)). > > And i have a form, which allows you to select a property for that main > object. The <select> is populated by the Keys of the properties already in > the database and then passed to the servlet that stores the objects in the > abovementioned long string form. > > However, when i try to select that property object from the datastore in > the storing servlet by getObjectById() method, i get the > "javax.jdo.JDOObjectNotFoundException: > No such object". How is that even possible? > > -- > Best Regards, > Timofey Danshin. > -- Best Regards, Timofey Danshin. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
