[appengine-java] Re: Problem deleting an entity which has a dependent Set Entity

2011-06-06 Thread Nichole
You might want to use @Persistent(mappedBy = parent) for your Parent entity declaration in your Child entity. Owned one-to-many http://code.google.com/appengine/docs/java/datastore/jdo/relationships.html#Owned_One_to_Many_Relationships On Jun 5, 9:27 pm, Didier Durand durand.did...@gmail.com

[appengine-java] Re: Not able to commit changes to google code, eclipse plugin keep asking for password even if I am already logged in.

2011-06-06 Thread Prashant
anyone ? On Mon, Jun 6, 2011 at 12:39 AM, Prashant antsh...@gmail.com wrote: Hi, Since last eclipse plugin update (few days back) I am not able to commit changes to Google Code. If am logged in on eclipse it can deploy application to GAE but if I try to commit changes to Google Code, it

[appengine-java] Problems with Google SOAP-Server Tutorial

2011-06-06 Thread pascal.schroe...@weist-edv.com
I set up my SOAP server and client following this article :http://code.google.com/appengine/articles/soap.html, but it doesn't work! I get always the same error! Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please

[appengine-java] Re: Problem deleting an entity which has a dependent Set Entity

2011-06-06 Thread mscwd01
Thanks for the replies. @Didier - I have considered this, and I guess I will have to manually delete each entity if I cant find a more elegant solution, however going by what the documentation says it should just work. I'd like to find out why this exception is occurring if possible. @Nichole -

[appengine-java] Re: Problem deleting an entity which has a dependent Set Entity

2011-06-06 Thread mscwd01
To add to my last comment I could do: pm.deletePersistentAll(children) to delete all Child objects in the Parents children Set, however as the method deletePersistentAll has a void return type how do you ensure all Child objects have been deleted before I delete the Parent entity? On Jun 6,

[appengine-java] Re: When to use a String as ID? (using Objectify and GWT)

2011-06-06 Thread Drew Spencer
Thanks Remy, I've just had a little play about with the java.util.UUID class. Seems pretty straightforward. I'll have a look into it a bit more later on, but maybe it will be overkill for my app - it's only a company internal one so maybe passing so many characters around might slow my app a

[appengine-java] Aw: Re: GWT Google Maps: Creating multiple markers leads to no error, but only one marker shows up; Exception with Clickhandler

2011-06-06 Thread meiaestro
Found it. It seems I have been blind during debugging. I changed an object without creating a new instance and stored it in an ArrayList. Not really surprising that both markers had the same position ;-) The second error still exists. What I found out so far is that it only occurs in code

Re: [appengine-java] Re: When to use a String as ID? (using Objectify and GWT)

2011-06-06 Thread Felipe Teixeira
Search in google : FishBone GWT objectify , A good exemple to use this. =D 2011/6/6 Drew Spencer slugmand...@gmail.com Thanks Remy, I've just had a little play about with the java.util.UUID class. Seems pretty straightforward. I'll have a look into it a bit more later on, but maybe it

Re: [appengine-java] Problems with Google SOAP-Server Tutorial

2011-06-06 Thread JT
Did you check the log? Any exceptions? On Jun 6, 2011 3:58 AM, pascal.schroe...@weist-edv.com pascal.schroe...@weist-edv.com wrote: I set up my SOAP server and client following this article : http://code.google.com/appengine/articles/soap.html, but it doesn't work! I get always the same

[appengine-java] Short-lived timer

2011-06-06 Thread Weston Pace
I'm working on an interactive game. I was hoping for turns to be on the order of 20 seconds or less. It appears the cron framework can only schedule things in 1-minute intervals. Is there any method for shorter timers in GAE? -- You received this message because you are subscribed to the

[appengine-java] Aw: How to completely delete the code for an application?

2011-06-06 Thread thomasj
Did you configure the new version to be the default version in appconsole ? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit

[appengine-java] Re: Channel API (Java) doesn't work locally, but in production mode.

2011-06-06 Thread Orlando Ruballo
I have the same problem!! And I don't restart the app server, as you I get the error from the start right away... help, any ideas would be nice... -- 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

[appengine-java] Re: Channel API (Java) doesn't work locally, but in production mode.

2011-06-06 Thread MG
Hi there, I am faced with exactly the same problem! Help is appreciated. regards, MG On 28 Mai, 13:17, Zerot Samsa zerotsa...@gmail.com wrote: Hey folks. I know that I'm not the first one who is facing this problem. There is a similar thread, but I don't think it's exactly the same

[appengine-java] examples or best practices for backends

2011-06-06 Thread Stefan Krecher
Hi, i'm interested in using backends for long running processes but i did not find any real-world example of using backends. Configuration works fine, backends-api for examination of the backends-instances seems to be obvious. Since the serialization of a rhino-scripting engine is not possible

[appengine-java] extending google maps' Marker Class (GWT2.3.0)

2011-06-06 Thread meiaestro
Hi Experts, using GWT 2.3.0 I want to have an additional attribute in every google maps Marker. My Idea was to extend the existing Marker class the following way: public class MyMarker extends Marker { private int myNumber; public MyMarker(LatLng point) { super(point); } public

[appengine-java] Aw: extending google maps' Marker Class (GWT2.3.0)

2011-06-06 Thread meiaestro
Ok, I found the reason for the JavaScript error, but have no idea how to solve this: The reason is simple. In my scenario MapWiget itself also has a click handler and GWT seems not to like it. As soon as I remove the click handler from the map everything works fine. As I said above I would

[appengine-java] Re: Short-lived timer

2011-06-06 Thread Ian Marshall
Would queued tasks in general, and deferred tasks in particular, suit you? You can set an ETA for these tasks, and GAE/J guarantees not to fire these tasks before any ETA set. You could use a scheduled task for a heartbeat of interval 1 minute, and use this to enqueue tasks for ETAs such that you

[appengine-java] Lots of 500 errors

2011-06-06 Thread hector@ISB
My appspot (addama-systemsbiology.appspot.com) is getting lots of 500 errors today. I haven't deployed any changes in a while. 2011-06-06 13:05:36.158 */addama/registry/mappings/tools/vera-sam-pipeline*500 11985ms 0cpu_ms 0kb Jakarta Commons-HttpClient/3.1,gzip(gfe) 209.124.189.39 - -

Re: [appengine-java] Re: When to use a String as ID? (using Objectify and GWT)

2011-06-06 Thread Jeff Schnitzer
I just let the datastore do it. I like having Long ids: * Longs always stick out in code as an id - ie in a constructor with 15 things, it sucks when they are all Strings. I often wish Java supported C-style typedefs (or just allowed subclassing basic types). * Long keys are more

[appengine-java] Unit Testing Emails

2011-06-06 Thread Mike!
Hey all, I've been trying to do some unit testing for emails. I've tried GreenMail in conjunction with JUnit Rule + ExternalResource (start/ stop GreenMail service)...I'm now stumped and can't find anything on the great oracle (google). Any ideas? Mike! -- You received this message because

[appengine-java] Re: Problem deleting an entity which has a dependent Set Entity

2011-06-06 Thread Nichole
Just a quick addition: you actually have something in between an owned and unowned one-to-many because you're holding on to object references to your many. The unowned one-to-many would use SetKey childrenKeys, for example. On Jun 6, 2:38 am, mscwd01 mscw...@gmail.com wrote: To add to my last