[appengine-java] Re: Creating unique ID for child Key with given parent Key

2010-08-31 Thread markus
That's exactly what I was looking for. Thank you very much! :) Regards, Markus On Aug 27, 2:55 am, "Ikai L (Google)" wrote: > You might want to have a look at this: > > http://code.google.com/appengine/docs/java/javadoc/com/google/appengi..., > java.lang.String, long) > > You can specify a paren

[appengine-java] Re: org.datanucleus.exceptions.ClassNotPersistableException

2010-08-31 Thread Didier Durand
Hi Gaurav, can you provide source code of your class: it may be a JDO annotation (@PersistenceCapable on class def, etc.) issue but without more info, it's hard to tell. didier On Aug 31, 5:55 pm, Gaurav Munjal wrote: > 3:34 PM > com.google.appengine.tools.development.LocalResourceFileServlet

[appengine-java] Re: class not enhanced

2010-08-31 Thread Didier Durand
Hi, Your problem is a know issue on the SDK for a long time: see http://stackoverflow.com/questions/1641697/google-app-engine-jdo-and-equals-hashcode and many others: see http://www.google.com/search?hl=en&source=hp&q=class+not+enhanced+app+engine What I do to fix it is that I manually declare 1

[appengine-java] Re: App Engine SDK 1.3.7 bugfix release

2010-08-31 Thread Sekhar
Eclipse is still showing 1.3.6...any ETA on that? On Aug 30, 4:12 pm, "Ikai L (Google)" wrote: > Hey everyone, > > I just wanted to let you all know that we're releasing a bugfix release, > 1.3.7. You can see our blog post here: > > http://googleappengine.blogspot.com/2010/08/app-engine-137-sdk-b

[appengine-java] Re: Best practice modeling a 1:n user-relationship with List properties

2010-08-31 Thread androidDeveloper
Yes, I think that makes sense. Now I understand what you mean. To only get those users who are my friends, I have to fill the friendslist differently -> I have to put my userId in the friendslist of my friends and not the other way (put all the userIds of my friends in my friendslist). Then I can u

[appengine-java] Problem with inheritance

2010-08-31 Thread lisandrodc
Hi! I have a problem with persist a child class, the error is: "We have not found the Meta-Data/annotations for the class "model.RegFechaUsuario". Please verify that it has put it in a file correct and valid XML" The configuration in the link : http://code.google.com/intl/es/appengine/docs/java/da

Re: [appengine-java] Downloading WAR files from appengine

2010-08-31 Thread Ikai L (Google)
No you need to provide your own backups. These WAR files would not be useful anyway unless you plan on editing .class files. On Tue, Aug 31, 2010 at 5:43 AM, Puneet wrote: > Hi, > > Is it possible to download war files that I have uploaded to app- > engine. I uploaded it through eclipse and now

Re: [appengine-java] Unable to upload application through eclipse3.5

2010-08-31 Thread Ikai L (Google)
The reason this is failing is because your url-patterns don't match this regular expression (http://www.regular-expressions.info/tutorial.html): '^(?!\^)/|\.|(\(.).*(?!\$).$' Start your urls with a "/" or ".* (catch all)" On Sat, Aug 28, 2010 at 10:35 AM, Saurabh Saxena < saurabhsaxena.saur...@g

[appengine-java] Re: How we can read uncommitted data in same transaction.

2010-08-31 Thread Vikas Hazrati
That sounds right, the data only becomes available to you once you have committed the tx. From the docs "This consistent snapshot view also extends to reads after writes inside transactions. Unlike with most databases, queries and gets inside a datastore transaction do not see the results of previ

Re: [appengine-java] Re: problem using limits and offsets with App Engine Low Level API

2010-08-31 Thread Ikai L (Google)
Hi Tom, Have you looked into cursors? http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html#Query_Cursors On Sat, Aug 28, 2010 at 9:49 AM, tomkarren wrote: > I read that pagination has an unpublished limit of 2000. Anyone know > it that's still true? Seems to be the cas

[appengine-java] class not enhanced

2010-08-31 Thread leonardo battagli
I am using google plugin for eclipse, I have only a jpa class and I have been able to store some data yesterday. I have seen this data in the 'datastore viewer'. Google plugin should Enhance the class by itself and it is really what it was doing 'till now. NOW it seems it does not enhance anymor

[appengine-java] Re: Just starting new Java install w/Windows but the first demo doesnt work

2010-08-31 Thread Droid
I have not tried the command line in eclipse I use 'run as' and that starts up the Dev server. On Aug 28, 6:24 pm, iBradleyAllen wrote: > Using the instructions to install on Windows using Java, after the SDK > is installed, it says try a demo program in a command prompt. > > but that command li

[appengine-java] Re: Java for Windows new install problem continued...

2010-08-31 Thread Droid
Eclipse manages it ok. Command line? Sorry, have not tried in java app engine. On Aug 28, 10:02 pm, iBradleyAllen wrote: > Ok the problem was that I needed to open a command prompt with Admin > priviledges (vista) and now it runs where 1000s of messages overflow > the command prompt sending bits

[appengine-java] Re: New version is not getting uploaded on Java GAE

2010-08-31 Thread Droid
Did you remember to update version in your yaml? Its picky about that. On Aug 26, 8:56 pm, tomkarren wrote: > Yes.  Seeing the same thing today. > > On Aug 26, 1:29 pm, oth wrote: > > > > > Hello, > > > Is anyone else having problems uploading new versions to google app > > engine? We have a ja

[appengine-java] Re: Best practice modeling a 1:n user-relationship with List properties

2010-08-31 Thread Frederik Pfisterer
Sorry, for some reason my post got lost and then I posted another one twice ... seems google groups had some issues. You are unlikely to have 1 million friends, so the resultset over which you'll iterate will be the 10-50 users in the list: Mind the filter: Query q = pm.newQuery(MyAppUser.class);

[appengine-java] Failed startup of context com.google.apphosting.utils.jetty.RuntimeAppEngineWebAppContext

2010-08-31 Thread leonardo battagli
Suddenly my app stopped to access to datastore, I got some messages: Failed startup of context com.google.apphosting.utils.jetty.runtimeappenginewebappcont...@7f3b8a{/,/ base/data/home/apps/toscanamtb/1.344472992373488094} java.lang.NullPointerException at java.lang.Class.isAssignableFrom

[appengine-java] org.datanucleus.exceptions.ClassNotPersistableException

2010-08-31 Thread Gaurav Munjal
3:34 PM com.google.appengine.tools.development.LocalResourceFileServlet doGet WARNING: No file found for: /favicon.ico org.datanucleus.jdo.exceptions.ClassNotPersistenceCapableException: The class "The class "mpstme.projects.mgs.classes.Customer" is not persistable. This means that it either hasnt

Re: [appengine-java] Re: Google Update 1.3.6

2010-08-31 Thread Rajeev Dayal
See http://code.google.com/eclipse/docs/faq.html#multiuser Is this the problem that you're running into? On Tue, Aug 31, 2010 at 11:03 AM, Benjamin wrote: > I had this problem and found it was from installing the eclipse plug > in using th

[appengine-java] Re: Google Update 1.3.6

2010-08-31 Thread Benjamin
I had this problem and found it was from installing the eclipse plug in using the "install new software" item on the help menu instead of using the install from the new "eclipse marketplace" item under help or the other way around, i don't remember - but i was installing 64 bit / 32 bit and all so

[appengine-java] Re: Google app engine database backup java

2010-08-31 Thread Francois Masurel
You might also want to star the following issue : http://code.google.com/p/googleappengine/issues/detail?id=776 On Aug 31, 12:09 pm, Frederik Pfisterer wrote: > http://code.google.com/intl/de-DE/appengine/docs/python/tools/uploadi... > > On 30 Aug., 14:05, prabu wrote: > > > > > hi, > >  please

[appengine-java] Weird NPE when trying to work with appstats

2010-08-31 Thread Vikas Hazrati
For performance tuning we wanted use appstats and since ours is a java based application, we used the steps as mentioned As soon as we hit http://localhost:8080/appstats We get the following error java.lang.NullPointerException at java.io.Reader.(Reader.java:61) at java.io.InputSt

[appengine-java] Weird NPE when trying to work with appstats

2010-08-31 Thread Vikas Hazrati
For performance tuning we wanted use appstats and since ours is a java based application, we used the steps as mentioned As soon as we hit http://localhost:8080/appstats We get the following error java.lang.NullPointerException at java.io.Reader.(Reader.java:61) at java.io.InputSt

[appengine-java] Downloading WAR files from appengine

2010-08-31 Thread Puneet
Hi, Is it possible to download war files that I have uploaded to app- engine. I uploaded it through eclipse and now i have accidentally deleted the project from my PC :( -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to t

[appengine-java] Re: JDO: Null parent on some children objects

2010-08-31 Thread cghersi
ok, thanks. The second answer is dictated by the fact that I don't want null values to be returned from getter methods, otherwise I cannot safely do an operation like: mySecondObject.getTags().add(tag); as I need to check if getTags() has returned null. So, which is the best in your opinion between

[appengine-java] Re: Google app engine database backup java

2010-08-31 Thread Frederik Pfisterer
http://code.google.com/intl/de-DE/appengine/docs/python/tools/uploadingdata.html On 30 Aug., 14:05, prabu wrote: > hi, >  please somebody help me.I have a java project on app engine,how to > backup and restore database using pythan give example code -- You received this message because you are

[appengine-java] Re: CPU bandwidth cost $$ too expensive?

2010-08-31 Thread Alex Bertram
Are you reading the $$ from the X-AppEngine-Estimated-CPM-US-Dollars headers? Note that those are per 1000 requests, not for the single request On Aug 27, 9:31 pm, akirekadu wrote: > I wanted to benchmark GAE read performance. Around 10,000 entities are > being fetched from data store. These