Re: [appengine-java] Ancestor queries in JPQL? / Getting Key of parameter value does not have a parent

2009-11-23 Thread Ikai L (Google)
I'm happy to add this to the official docs if it isn't clear. I think this makes sense under the JPA section or the section about ancestor queries. On Sun, Nov 22, 2009 at 11:24 PM, Rusty Wright rwright.li...@gmail.comwrote: There are way too many hidden secrets, like this parent-pk query, that

Re: [appengine-java] Ancestor queries in JPQL? / Getting Key of parameter value does not have a parent

2009-11-23 Thread Rusty Wright
I'm thinking of something like a tips and tricks section that goes over these extensions as well as JDO/JPA things that might be particularly useful with GAE, with examples of how they're useful with GAE. For example, parent-pk, and then in Max's recent article, @PrePersist, @PreUpdate, and

[appengine-java] Ancestor queries in JPQL? / Getting Key of parameter value does not have a parent

2009-11-16 Thread Todd Vierling
Test app to reproduce: http://ancestortest.latest.duh-test.appspot.com/ Source code: http://ancestortest.latest.duh-test.appspot.com/src/ancestortest/AncestorTestServlet.java http://ancestortest.latest.duh-test.appspot.com/src/ancestortest/UserAccount.java