[appengine-java] Timeout using GData API

2009-11-05 Thread Roy
Recently I've started getting timeouts fetching a spreadsheet using the Gdata API library. How do I increase the timeout? Stack trace follows:- java.io.IOException: Timeout while fetching: http://spreadsheets.google.com/feeds/worksheets/tPigPq5454wZIlYT_Vy7jY-ewerb2XQ/private/full/defaultjava.

[appengine-java] Re: Inequality operator is !=, but can we add <>

2009-11-05 Thread Roy Smith
Thx for taking the issue on board. I have seen the roadmap page, but ideally I'd like the next level of detail in terms of planned releases and feature sets. Think Trac milestones. Of course these things change, but we can live with that. As an example, I'm currently wrestling with authentication.

[appengine-java] Re: GWT Vs JQuery

2009-11-05 Thread Roy Smith
Horses for courses. Do you know Javascript? Does GWT-RPC work for you, or do you prefer REST, DWR or your home-grown c-s protocol? Will you be using other APIs such as Gdata? Do you require any particular widgets from either GWT or Jquery? ...the list goes on GAE is agnostic. The biggest issue y

[appengine-java] Re: Inequality operator is !=, but can we add <>

2009-11-05 Thread Max Ross (Google)
Have you seen this? http://code.google.com/appengine/docs/roadmap.html I understand the operational difficulties you're describing. Ideally we would have a way to let early adopters try out the new runtime before we roll it out to all our servers, thus giving us the opportunity to learn about inc

[appengine-java] GWT Vs JQuery

2009-11-05 Thread Vik
Hie My App is currently writen and hosted on GAE which used conventional MVC1 pattern and using jsps for views layer. I am looking forward to enhance the UI layer. So which one is more recommended GWT or JQuery or anything else that works with GAE? Thankx and Regards Vik Founder www.sakshum.com

[appengine-java] Re: Inequality operator is !=, but can we add <>

2009-11-05 Thread Roy Smith
1.2.6 broke a few items based on the posts in this group and was implemented with no prior notice. Had we known what the changes were, and were given a couple of day's notice, we could have been monitoring our live apps and reviewing our code for incompatibilities, implemented some contingencies,

[appengine-java] Re: Inequality operator is !=, but can we add <>

2009-11-05 Thread Max Ross (Google)
Hi Roy, I don't have a firm date to give you on the next release because we're going to test it until we're satisfied with the quality. The release will be backwards compatible with the current release. What sorts of decisions are you looking to make based on the release date? Maybe there's som

[appengine-java] Re: Cannot retrieve value of the newly created attribute in a JDO

2009-11-05 Thread delightwjk
Thank you Jorge, I checked the document you mentioned, but i'm still not sure what is the reason of my issue. I added a field in JDO (Boolean successFlag), and stored several entities in datastore, I was able to see the entities with successFlag property from admin console "Datastore" -> "Data Vi

[appengine-java] Re: Inequality operator is !=, but can we add <>

2009-11-05 Thread Roy Smith
On Thu, Nov 5, 2009 at 9:17 PM, Max Ross (Google) > wrote: > The next SDK (1.2.8) is working its way through QA right now so hopefully > it will be available in the next week or two. > > Please can we get a bit more notice on the changes and the make-live date than we did with 1.2.6 --~--~--

[appengine-java] Re: I broke something using Eclipse plugin

2009-11-05 Thread Esteban Ignacio Masoero
Hi Romeo: This problem was reported here http://code.google.com/p/googleappengine/issues/detail?id=2280 . You can vote for it so it gets fixed asap (there's also a workaround explained). Regards, Esteban On Thu, Nov 5, 2009 at 9:04 PM, RSN wrote: > > I had the same problem. But, after adding

[appengine-java] Re: I broke something using Eclipse plugin

2009-11-05 Thread RSN
I had the same problem. But, after adding the jars to the build path as external jars, it complains about not finding the following: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.i

[appengine-java] Re: the question in ubuntu9.10 and eclipse 3.5

2009-11-05 Thread James Young
No No, oh, I need install libstdc++5,, I don't know it don't conflict with libstdc++6, Now everything is all right. sorry! On Fri, Nov 6, 2009 at 7:26 AM, James Young wrote: > > > > On Thu, Nov 5, 2009 at 11:57 PM, zhurizhe wrote: > >> when I run the app in ubuntu9.10 and eclipse 3.5,the cons

[appengine-java] Re: the question in ubuntu9.10 and eclipse 3.5

2009-11-05 Thread James Young
oh, I need install libstdc++6,, I don't know it don't conflict with libstdc++5, Now everything is all right. On Thu, Nov 5, 2009 at 11:57 PM, zhurizhe wrote: > when I run the app in ubuntu9.10 and eclipse 3.5,the console view the > info : > ** Unable to load Mozilla for hosted mode ** > java.la

[appengine-java] Re: any plans for deferred.defer in Java?

2009-11-05 Thread Vince Bonfanti
I just committed an update to this to remove the static DatastoreService instance. Vince On Sat, Oct 31, 2009 at 2:08 PM, Vince Bonfanti wrote: > This looked like an interesting problem, and I already had most of the > pieces in place, so here's my first attempt, which is implemented in a > sin

[appengine-java] Re: Key of parameter value does not have a parent

2009-11-05 Thread Corey
Um, please disregard this previous post. I figured out my mistake. I was treating the relationship as I would a foreign-key relationship in an RDBMS solution. Including the refernce to the Event object (as a owned on-to-many relatioship) fixed my problem. This does beg a question, however: How d

[appengine-java] Re: error 500 from server when starting the guestbook demo app

2009-11-05 Thread Tomas
Yes it was the command search path that needed manual updating. Found help here: http://java.sun.com/javase/6/webnotes/install/jdk/install-windows.html Keep up the good work !! /Tomas On Nov 5, 3:23 pm, Tomas wrote: > Hi Jason ! > The java files are there all right, it seems, and I very recent

[appengine-java] Re: Querying Owned Child Objects by Key.getId()

2009-11-05 Thread Ikai L (Google)
You should still be able to do the following: mysite.com/rest?key=someencodedkey The advantage of doing this is that you don't have to expose the internal structure of your entity groups, and that you will be able to fetch your object like so: Team team = pm.getObjectById(Team.class, "s

[appengine-java] Re: Inequality operator is !=, but can we add <>

2009-11-05 Thread Dave Cheong
Thanks Max - looking forward to it. Keep up the great work. dave On Nov 6, 8:17 am, "Max Ross (Google)" wrote: > The next SDK (1.2.8) is working its way through QA right now so hopefully it > will be available in the next week or two. > > > > On Thu, Nov 5, 2009 at 12:58 PM, Dave Cheong wrote:

[appengine-java] Re: Querying for entities by filtering by key

2009-11-05 Thread Max Ross (Google)
The "mappedBy" on your List Bs is throwing me off. It looks like you're declaring a relationship that is managed by JDO but the type of your List is Key, not B. I think the real problem you're running into is that you're trying to match on the id field of the Key when you should really be matchin

[appengine-java] Re: Inequality operator is !=, but can we add <>

2009-11-05 Thread Max Ross (Google)
The next SDK (1.2.8) is working its way through QA right now so hopefully it will be available in the next week or two. On Thu, Nov 5, 2009 at 12:58 PM, Dave Cheong wrote: > > Thanks for the reply Max. I pretty much came to the same conclusion. > Any ETA on when the support will be released for

[appengine-java] Key of parameter value does not have a parent

2009-11-05 Thread Corey
Hello, I have just started working with the GAE's Java implementation and have quicly run into problems attempting to run rather simple queries, I am hoping I can find some clarification as to what I may be doing wrong here. Here is the scenario: I have two persistent JDOs: Profile, which stores a

[appengine-java] Re: Inequality operator is !=, but can we add <>

2009-11-05 Thread Dave Cheong
Thanks for the reply Max. I pretty much came to the same conclusion. Any ETA on when the support will be released for general use? dave On Nov 4, 5:05 am, "Max Ross (Google)" wrote: > "not-equal" filters are not supported in the current SDK unless you're doing > "not equal null," in which case

[appengine-java] Implementation of Distributed Transaction API

2009-11-05 Thread James H
I lost track of where the code project for the API defined in the whitepaper by Wilkerson, Armbrust, and others regarding distributed transactions. I have the whitepaper site: http://danielwilkerson.com/dist-trans-gae.html But where is the implementation site and what is the status? --~--~-

[appengine-java] Re: Master/Detail relations and redundant data handling

2009-11-05 Thread bryce cottam
here's a really good talk about how objects are mapped into the BigTable datastore and how relationships are actually represented in the system: http://sites.google.com/site/io/under-the-covers-of-the-google-app-engine-datastore this sort of highlites how relationships actually work in BigTable (w

[appengine-java] Re: Master/Detail relations and redundant data handling

2009-11-05 Thread Rusty Wright
Good points. In my case, so far, the copied objects are small and not complicated, which is why my method appealed to me. I feel like there's some fundamental concept that I'm not getting and it has to do with how objects are mapped onto the Big Table data store. Watching the videos from Goo

[appengine-java] Re: Relation Index Entities: Best practice for getting the keys of the parent

2009-11-05 Thread Rusty Wright
I'm a newbie so I don't know if this would be a good way to do it, but what about using the extension that sets the parent's key in a field in the child: @Persistent(defaultFetchGroup = "true") @Extension(vendorName = "datanucleus", key = "gae.parent-pk", value = "true") private Key

[appengine-java] Re: Recommended scope for DatastoreService

2009-11-05 Thread Vince Bonfanti
Yep, I'm going though and making those changes now. Note that the Queue documentation says, "Implementations of this interface must be threadsafe." So that one's OK. Vince On Thu, Nov 5, 2009 at 12:57 PM, Roy Smith wrote: > Hi Vince > I removed all of the static qualifiers from CachingDatastore

[appengine-java] Re: Master/Detail relations and redundant data handling

2009-11-05 Thread bryce cottam
I don't think that duplicating the whole Department object as a child of a Person is all that good of an idea. First off, if the Department object gets complicated and has it's own child objects all that data will be living on the Person, which isn't really needed. The whole reason for the FK st

[appengine-java] Querying for entities by filtering by key

2009-11-05 Thread IlyaE
I'm having a problem writing a query to get a list of objects by filtering for a another entities key. Object A has many object Bs. Object A @PersistenceCapable(identityType=IdentityType.APPLICATION, detachable = "true") public class A { @PrimaryKey @Persistent(valueStrategy = I

[appengine-java] Re: Master/Detail relations and redundant data handling

2009-11-05 Thread Rusty Wright
I'm now thinking that instead of using detachable="false", set it to true so that it can be easily updated. To create new unparented objects, use a constructor that takes a "template" object you got from the data store; Department fetchedDepartment = departmentDao.findById(id); Department

[appengine-java] Re: Enhancing issue with single int primary key

2009-11-05 Thread datanucleus
All docs state that final/static fields aren't persisted/persistent --~--~-~--~~~---~--~~ 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 google-appengine-java@google

[appengine-java] the question in ubuntu9.10 and eclipse 3.5

2009-11-05 Thread zhurizhe
when I run the app in ubuntu9.10 and eclipse 3.5,the console view the info : ** Unable to load Mozilla for hosted mode ** java.lang.UnsatisfiedLinkError: /home/jamesyoung/eclipse/plugins/ com.google.gwt.eclipse.sdkbundle.linux_1.7.1.v200909221731/gwt- linux-1.7.1/mozilla-1.7.12/libxpcom.so: libstd

[appengine-java] Enhancing issue with single int primary key

2009-11-05 Thread Hershiv Haria
I've been trying to work out what I'm doing wrong with the following code. It was working last night, and as far as i can remember I haven't changed it. I have search for hours for a solution but i only seem to find the error in relation to compound keys online. Here's the code: package my.sync

[appengine-java] Re: How to use JSON on server-side?

2009-11-05 Thread Nitin Joshi
You can use following classes to use json on server-side. org.json.JSONArray and org.json.JSONObject you have to download a jar file (json-rpc-1.0.jar) to use these classes. http://viralpatel.net/blogs/download/json/json-rpc-1.0.jar -Original Message- From: google-appengine-java@googlegr