Jeff, I made an issue regarding it, let me know if my unit test left anything out.
Thanks, Patrick. http://code.google.com/p/googleappengine/issues/detail?id=2879 On Fri, Feb 19, 2010 at 1:16 AM, Patrick Twohig <[email protected]>wrote: > I had that suspicion, but, I wasn't 100% sure. I wonder if it's an issue > that shows up in production or just local datastore. > > Pat. > > > On Thu, Feb 18, 2010 at 1:34 PM, Jeff Schnitzer <[email protected]>wrote: > >> I just created a unit test for this case (there wasn't one before) and >> sure enough, it fails. Looks like a bug in appengine. Create an >> issue, I'll star it. >> >> The failing unit test is the last one in this file: >> >> http://code.google.com/p/objectify-appengine/source/browse/trunk/src/com/googlecode/ob >> jectify/test/QueryTests.java<http://code.google.com/p/objectify-appengine/source/browse/trunk/src/com/googlecode/objectify/test/QueryTests.java> >> >> FWIW, our implementation is the ancestor() method: >> >> http://code.google.com/p/objectify-appengine/source/browse/trunk/src/com/googlecode/objectify/impl/QueryImpl.java >> >> Javadocs are on the interface class: >> >> http://objectify-appengine.googlecode.com/svn/trunk/javadoc/com/googlecode/objectify/Query.html >> >> Jeff >> >> On Thu, Feb 18, 2010 at 11:22 AM, Patrick Twohig >> <[email protected]> wrote: >> > Duly noted. However, I'm not about to rewrite a bulk of my code over a >> > single issue I'm having. At the time I started this, I hadn't realized >> > Objectify existed and tried using JDO which turned out to be a gigantic >> > nightmare, so I slimmed it down and wrote my own wrapper similar to >> > Objectify. Right now the only pressing issue is that ancestor queries >> > aren't working as expected and it's driving me nuts. Could you perhaps >> > point me to some source in Objectify that executes an ancestor query >> that I >> > may be able to see? >> > >> > On Wed, Feb 17, 2010 at 10:05 PM, Jeff Schnitzer <[email protected]> >> > wrote: >> >> >> >> The documentation I wrote up here might help: >> >> >> >> http://code.google.com/p/objectify-appengine/wiki/Concepts >> >> >> >> You might consider using something like Objectify (or Twig, or >> >> SimpleDS, etc) instead of the Low-Level API. >> >> >> >> Jeff >> >> >> >> On Wed, Feb 17, 2010 at 9:23 PM, Patrick Twohig >> >> <[email protected]> wrote: >> >> > Aside from the Javadocs, does there exist any further documentation >> on >> >> > the >> >> > GAE/J low-level API. I've had a handfull of issues with it so far >> and >> >> > I'm >> >> > at a bit of a loss. I'm having trouble with ancestor queries. >> >> > Specifically, I'm not getting any child entities when I look for >> objects >> >> > with no kind specified and just an ancestor. However, the equivalent >> >> > code >> >> > in python performs as expected. >> >> > >> >> > I was also curious how GAE/J organizes transactions. From what I >> gather >> >> > in >> >> > the documentation, each transaction is organized in a ThreadLocal >> stack. >> >> > Every time you call DatastoreService.beginTransaction() it creates a >> new >> >> > transaction, pushes it on the thread local stack then when it's done, >> >> > it's >> >> > popped of. I was curious if it may be possible to add a method that >> can >> >> > provide the current transaction given a particular key somehow. >> >> > >> >> > >> >> > -- >> >> > Patrick H. Twohig. >> >> > >> >> > Namazu Studios >> >> > P.O. Box 34161 >> >> > San Diego, CA 92163-4161 >> >> > >> >> > -- >> >> > 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]<google-appengine%[email protected]> >> . >> >> > For more options, visit this group at >> >> > http://groups.google.com/group/google-appengine?hl=en. >> >> > >> >> >> >> -- >> >> 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]<google-appengine%[email protected]> >> . >> >> For more options, visit this group at >> >> http://groups.google.com/group/google-appengine?hl=en. >> >> >> > >> > >> > >> > -- >> > Patrick H. Twohig. >> > >> > Namazu Studios >> > P.O. Box 34161 >> > San Diego, CA 92163-4161 >> > >> > -- >> > 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]<google-appengine%[email protected]> >> . >> > For more options, visit this group at >> > http://groups.google.com/group/google-appengine?hl=en. >> > >> >> -- >> 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]<google-appengine%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/google-appengine?hl=en. >> >> > > > -- > Patrick H. Twohig. > > Namazu Studios > P.O. Box 34161 > San Diego, CA 92163-4161 > > -- Patrick H. Twohig. Namazu Studios P.O. Box 34161 San Diego, CA 92163-4161 -- 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.
