[appengine-java] Re: Non-Deterministic Issue with JDO Persistence

2010-06-21 Thread shaz
note, this is redundant: > > pm.newQuery(query).execute(user); > > you should simply do query.execute(...) > > Hope this helps, > > Yaniv Kessler > > maybe some locations exceed their MaxSaveLocs ??? > > On Mon, Jun 21, 2010 at 8:27 AM, shaz wrote: > > >

[appengine-java] Non-Deterministic Issue with JDO Persistence

2010-06-20 Thread shaz
The problem is specifically with persisting objects in a many to one relationship. The odd thing is that the my code was working fine, and then suddenly it was only persisting the objects some of the time, completely non-deterministic and the code hadn't changed. This has made it really hard to d

[appengine-java] Re: Intermittent Issue with Datastore Writes

2010-06-17 Thread shaz
(HttpParser.java: 212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java: 404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 409) at org.mortbay.thread.QueuedThreadPool $PoolThread.run(QueuedThreadPool.java:582) On Jun 16, 8:05 am, shaz wrote: > Here

[appengine-java] Re: Intermittent Issue with Datastore Writes

2010-06-16 Thread shaz
Here is the code for reference. For background, there is a class called OMRUser which is a user class, and there is Location3 class. There is a one to many owned relationship between a user and locations snippet of USER class: @PersistenceCapable(identityType = IdentityType.APPLICATION) public cl

[appengine-java] Intermittent Issue with Datastore Writes

2010-06-15 Thread shaz
Hi, I have a functioning app and recently have had intermittent problems writing to the datastore. I did not make any relevant code changes, however in the last few days my attempts to write to the datastore sometimes work and sometimes don't. I am trying to save an object that is in a many to o

[appengine-java] Need to update the type of primary key on existing objects in GAE Java

2010-02-02 Thread shaz
Hi, I am building a web app using GAE Java. I have a class that uses a Long ID as its primary key. I now want to create a new class that would be the parent class to this original class (a one to many relationship) however the children that already exist need to have a primary key of type "key",

[appengine-java] Re: xmlHttp request status is 0 for google maps http geocoder

2009-11-28 Thread shaz
Realized the issue - didn't realize there was a cross domain restriction on AJAX. Problem solved. thanks On Nov 27, 5:09 pm, shaz wrote: > Hi, > > I am trying to submit an HTTP request via AJAX from the client to the > Google Maps Geocoding service. I keep getting a status of

[appengine-java] xmlHttp request status is 0 for google maps http geocoder

2009-11-27 Thread shaz
Hi, I am trying to submit an HTTP request via AJAX from the client to the Google Maps Geocoding service. I keep getting a status of 0. I know the request is valid because when I enter the URL right into the browser address bar I get a valid result. Here is the code (assume 'url_string' has a vali