[google-appengine] Re: Google App Engine Objectify get grandson of entity

2014-12-15 Thread Quentin A
Yes, I should write KeyBlague blagueKey = Key.create(userKey, Blague.class, blague.getId()); instead of KeyBlague blagueKey = Key.create(Blague.class, blague.getId()); in the API method. Thank you for your help -- You received this message because you are subscribed to the Google Groups

[google-appengine] Google App Engine Objectify get grandson of entity

2014-12-14 Thread Quentin A
I have entities like this : User-Blague-Score where an user have numerous blagues(childs) and a blague have one score. I'm trying to get the score from a blague, but when I write this : User userPoster = ofy().load().type(User.class).id(5066549580791808L).now(); Blague blague =