Hi guys, My situation is like that:
1. I have an abtract class Doc and two classes Order and Report which extend Doc. 2. I have a class Person which can contain List<Keys> myDocs. Task: 1. Get Report or Order by ID ( I mean the short one, which I can see in Datastore viewer, for instance ID=123454) 2. Get all Docs for some Person. My view: 1 task: I should store pairs ID and Keys in some additional "table" and then when I need Doc with some ID Firstly, I should find a Key( first query) and Secondly, I should get Order or Report something like 'Select * from Key.GetKind() where key==key' (second query) 2 task: Let's say, I am going to implement paging and it will be 10 Docs per page. So it will be at least 10 queries-- one per each Doc. Am I correct? Any suggestions or something that could be improved or corrected would be appreciated. Best regards, Maxim Cherednik -- 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 [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-java?hl=en.
