[appengine-java] Trouble finding an efficient way to count the # of rows for multiple values of a field

2011-02-04 Thread mhseiden
I'm working on an application that has a table for "Post" objects, with a field for "Post_Category". I've been trying to find a way to count the number of Posts in each category without doing a query on every possible value. I'd like to get the data through a single query, but since GAE doesn'

[appengine-java] Re: Trouble finding an efficient way to count the # of rows for multiple values of a field

2011-02-04 Thread Miroslav Genov
You can take a look into: http://www.google.com/events/io/2010/sessions/high-throughput-data-pipelines-appengine.html The presentation contains information about materialized views and I guess this is

[appengine-java] query across all namespaces

2011-02-04 Thread Aswath Satrasala
Hello, Class Tenant { ... } I have the following situation - I generate a namespace based on certain params - I set the namespace using NamespaceManager(namespace) - Create a Tenant So, I have a Tenant which is belonging to a certain namespace Now, I want to query the Tenants across all namespa

[appengine-java] Re: Issue with Spring and Task Queue.

2011-02-04 Thread Juan Manuel Amorós
I mean that yesterday, before setting up Spring, the "countdownMillis" had been working well. On Feb 4, 2:14 am, Didier Durand wrote: > Hi, > > When you say "stopped working", does it mean that they were working at > some point ? > > If yes, isn't your issue related to the slight changes in the T

[appengine-java] Re: Xstream patched

2011-02-04 Thread Jonny
Thanks, If I use the DomDriver in the XStream constructor I still get the error about using restricted classes (Reflection) when in the GAE context. When I run my unit tests with the same patched .jar - everything is OK. Am I missing something? On Jan 26, 4:58 pm, Charms Styler wrote: > yes we

[appengine-java] Re: Xstream patched

2011-02-04 Thread Jonny
I have downloaded it and tested and it doesn't work in GAE context. I have tried PureJavaReflection in the constructor but still I get errors RE reflection. Are you using a specific configuration/set-up too? Thanks. On Jan 27, 2:38 pm, Charms Styler wrote: > Wel I have been using it on my apps

[appengine-java] Re: Serve image from blob store

2011-02-04 Thread Dick Larsson
I have seen this error message, when there is a call for response.getWriter earlier on in the code. Are you sure that you have not asked for the Writer? ..response.getWriter()..? blobstoreService.serve(blobKey, resp) will use response.getOutputStream() and that can be tricky if you have already as

Re: [appengine-java] Re: Xstream patched

2011-02-04 Thread Paul Hammant
I've a patched version working for the last two years on my demo app http://ph-jdo.appspot.com/ The multiple patches (that worked for me) hanging off of http://jira.codehaus.org/browse/XSTR-566 are not good enough for the XStream team. They'll get round to fixing the issue soon I hear. It may me

Re: [appengine-java] Re: High Replication - Slow MemCache?

2011-02-04 Thread Ikai Lan (Google)
I've reproduced this. Ouch! Let me dig into this and figure out what is wrong. This is very simple to reproduce. For reference, here is my test code: http://pastie.org/1529294 -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www

[appengine-java] transaction not found

2011-02-04 Thread Martin Caslavsky
Hi, my app occasionally throws an exception Caused by: java.lang.IllegalArgumentException: transaction not found at com.google.appengine.api.datastore.DatastoreApiHelper.translateError(DatastoreApiHelper.java: 36) at com.google.appengine.api.datastore.DatastoreApiHelper $1.convert

[appengine-java] Problem Authenticating against App Engine

2011-02-04 Thread Sky
Hi all, I am using the oauth authentication process to authenticate Android to App Engine described in Nick's blog: http://blog.notdot.net/2010/05/Authenticating-against-App-Engine-from-an-Android-app This worked fine until today. Today the authentication on app engine fails -> boolean authentica

Re: [appengine-java] Powered by Google Technologies

2011-02-04 Thread Arthur Kalmenson
The website looks great, good job! The best success for you! -- Arthur Kalmenson On Sun, Jan 30, 2011 at 4:09 PM, Michael Weinberg wrote: > Wanted to share our project called CitySale.ca which is built entirely > on the Google stack: > > Google APIs - App Engine, GWT, Maps, Fusion Tables, Geoc

[appengine-java] Re: Google Voice + App Engine (Java)

2011-02-04 Thread lovegoogle
Thank you Fabrizio. That was very helpful. I did exactly what you suggested and it works fine. Downloaded the source from the trunk and compiled it into the app. I am able to send SMS now. Cheers! Sinu On Feb 2, 11:12 pm, Fabrizio Accatino wrote: > I think your lib uses not whitelisted java API

Re: [appengine-java] Re: Google Voice + App Engine (Java)

2011-02-04 Thread Amrendra Tripathi
Hello All, I tried using Chat System within App Engine i am using own side server and Database. So Plz suggess me how to go through this. Thanks On 5 February 2011 11:58, lovegoogle wrote: > Thank you Fabrizio. That was very helpful. > I did exactly what you suggested and it works fine. > Dow

[appengine-java] Re: Trouble finding an efficient way to count the # of rows for multiple values of a field

2011-02-04 Thread mhseiden
Thanks a lot for the linked video! It was exactly what I was looking for and it introduced me a new way of structuring the backbone of my app. MS -- 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 t