[appengine-java] Re: How do I write data in my Google App Engine Datastore to com.google.appengine.api.datastore.Text

2010-03-13 Thread Fabrizio
Jake, you don't manage null values. I normally write: @Persistent private Text Data; public void setData(String data) { if (data == null) this.Data = null; else this.Data = new Text(data); } public String getData() { if (this.Data ==

Re: [appengine-java] Objectify - Twig - approaches to persistence

2010-03-13 Thread John Patterson
On 13 Mar 2010, at 13:14, Jeff Schnitzer wrote: Some queries will certainly return faster than others, and from what I've read/watched, keys-only queries should have performance profiles roughly similar to simple gets. But there can be no doubt that real queries are quite slow compared to

[appengine-java] Re: Help with modeling JDO persistent classes

2010-03-13 Thread kattus
Thanks for the reply. I have thought of this way as well, the problem is that I want to allow the user to change the value of A.name. In this case I will have to change all the B.Aname values too, which may by then be thousands of Bs. This will also force me to put A and B in the same entity

[appengine-java] Re: How to delete all entities of a kind with the datastore viewer

2010-03-13 Thread Toby
Hi, If it is a one time thing, the easiest is to use imacro plugin for firefox (or similar). Just teach it to use the GAE admin to delete the entities (20 per page) and then replay it in a lot of loops. This takes one minute to set up and works perfectly. Cheers, Tobias On Mar 13, 9:44 am, 杨浩

Re: [appengine-java] Abridged summary of google-appengine-java@googlegroups.com - 55 Messages in 25 Topics

2010-03-13 Thread hideki
lo swz Sent from my MOTOBLUR™ smartphone on ATT -Original message- From: google-appengine-java+nore...@googlegroups.com To: Abridged Recipients google-appengine-java+dig...@googlegroups.com Sent: Sat, Mar 13, 2010 04:19:30 GMT+00:00 Subject: [appengine-java] Abridged summary of

[appengine-java] New blog post: Invoke GWT RPC services deployed on Google App Engine

2010-03-13 Thread Trung
A new post http://www.gdevelop.com/w/blog/2010/03/13/invoke-gwt-rpc-services-deployed-on-google-app-engine/ shows how to invoke GWT RPC services deployed on Google App Engine from Java client. Shorten url http://goo.gl/fb/n99D Any feedback can be left on my blog, thanks. Trung -- You

[appengine-java] Re: Not able to write string arrays in data store

2010-03-13 Thread Ganesh
public class Qarray { public String[][] Cellval; public Qarray() { } } --- import javax.jdo.annotations.IdentityType; import javax.jdo.annotations.PersistenceCapable; import javax.jdo.annotations.Persistent; import

[appengine-java] Re: Not able to write string arrays in data store

2010-03-13 Thread datanucleus
So you didn't declare the dummy class as persistable like I mentioned that you ought to do ... -- 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-j...@googlegroups.com. To

[appengine-java] Re: JPA enhancement problem (DataNucleus)

2010-03-13 Thread David Fuelling
I get this issue pretty often too, although my experience is that you likely have an issue with one of your entities (sometimes your entity can be properly coded, but there could be a fluke with how DataNucleus +GAE interpret a particular feature/annotation, especially with JPA). For example, I

[appengine-java] Re: Memory Leak in the EntityManagerFactory?

2010-03-13 Thread David Fuelling
Hey Max, Thanks for your reply! I tried to install the eclipse memory profiler (TPTP -- http://www.eclipse.org/tptp/home/downloads/installguide/InstallGuide42.html#install_update_manager) but for whatever reason there seems to be a conflict with the Google Eclipse plugin because now there's no

[appengine-java] Re: Not able to write string arrays in data store

2010-03-13 Thread Ganesh
I thought I have done it by declaring my array elements into a separate QArray class..I probably misunderstood your solution..Can you give some code examples involving string arrays and dummy classes? On Mar 13, 11:49 am, datanucleus andy_jeffer...@yahoo.com wrote: So you didn't declare the

[appengine-java] Re: Not able to write string arrays in data store

2010-03-13 Thread datanucleus
I said have a dummy class with an ArrayList, not a dummy class with a multiple-dimension array. I also said make the dummy class persistable ... @PersistenceCapable. Nothing worthy of an example -- You received this message because you are subscribed to the Google Groups Google App Engine for

[appengine-java] decision making

2010-03-13 Thread Jeevan
hello all, am developing app called cloud based teaching system. Initially it accepts the google account user name and password for the user. I am thinking of provide 3 different level of authentication. 1)Student 2)Faculty 3)Admin Admin can add faculty and remove faculty and can do all

[appengine-java] Re: JPA enhancement problem (DataNucleus)

2010-03-13 Thread Sekhar
They aren't that complex, and I never really got any compile-time errors (which I think you are referring to) - all the issues are run- time. Anyway, I went ahead and limited the ORM compiles to just the subdirectory that has the entities (using the Eclipse GAE option). Hopefully that'll fix the

[appengine-java] Re: NullPointerException while running a new app

2010-03-13 Thread anjolight
Hi I am getting the same NullPointerException. The challenge is that my app runs fine in my local eclipse but it gives me this error when it's deployed to app engine. And the error gives me very little information as to what went wrong. What's the best way to debug the nullpointerexception with

Re: [appengine-java] decision making

2010-03-13 Thread Miroslav Genov
Hello, Here are some ideas that could help you find out how to solve this. Create an object in the database that would map email address to it's role. Something similar to: UserEntity User user; // or email that is logge String role; // role name So the information in this table may

[appengine-java] Best way to perform search on DataStore - Design Question

2010-03-13 Thread niraj
My case: I am building a website that has several searchable fields from various entities (example Artist names from artist entity , Album names from album entity). To have an efficient search capability I have defined another Entity - SearchType which carries the Searchable string and the Foreign

Re: [appengine-java] Re: Error when deleting entities - Id cannot be zero

2010-03-13 Thread Pavel Byles
Got it to work. Thanx On Fri, Mar 12, 2010 at 3:19 PM, thierry LE CONNIAT thlec...@free.frwrote: HI, I have try your function deleteAllMyType it's functions well, the differenxces are in my class of object : @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Picture

[appengine-java] How to upload pics in appengine java

2010-03-13 Thread nag
Hi I am trying to build online reg form can u help me how to upload image files to app engine. First: is there any way to upload images in app engine? thanks Nag -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this

Re: [appengine-java] How to upload pics in appengine java

2010-03-13 Thread Jeevan Dongre
u can directly upload the images to the GAE,but when you are developing the web app hope you will using links to specify the images and those images will uploaded to the engine.you cant explicitly upload any images Warm Regards, Jeevan Dongre. || Wisdom is Power || On Sun, Mar 14, 2010 at 7:12

Re: [appengine-java] How to upload pics in appengine java

2010-03-13 Thread Pavel Byles
AFAIK almost any file can be apart of the docs that you upload (images, css, html, js, jsp, ico). I haven't had any trouble uploading images. Are you talking about accepting images from an input form? In that case you can store them as a blob type in the datastore. Hope this helps On Sun, Mar

[appengine-java] Re: JPA enhancement problem (DataNucleus)

2010-03-13 Thread datanucleus
there could be a fluke with how DataNucleus+GAE interpret a particular feature/annotation The log would tell you if that was the case. More likely the GAE/J Eclipse plugin of hasn't detected a change in the source file. Obviously there is also the DataNucleus Eclipse plugin to use ... -- You

[google-appengine] Uploading with the bulkloader.py

2010-03-13 Thread Josh Moore
Hi I am trying to download all of the datastore objects in my application with the bulkloader and then upload them into a different application. I use this command to download: bulkloader.py --dump --app_id=jsm277 --url=http://bulkmove.latest.jsm277.appspot.com/remote_api

Re: [google-appengine] Re: GAE/J Performance (Slowness)

2010-03-13 Thread Patrick Twohig
Scratch one cause off of the list. I found out that the client would always send each request without credentials, the server would kick back a 401 and then the client would resubmit with credentials every time! It was nuts, two requests for each useful request :( Since doing that the app has

[google-appengine] Need help with a query...

2010-03-13 Thread Patrick Twohig
So, the business requirements of my application need a query which needs to search for a property (let's call it foo) and a date property such that it will filter out all objects older than a certain date. I guess in GAE/J this would be something like Query q = new Query(MyKind)

[google-appengine] Weird issue when updating on windows

2010-03-13 Thread Kenchu
When updating my app in windows, either through the GoogleAppEngine GUI or the appcfg.py console command, I will end up getting errors when visiting my page because modules would be missing. When updating the exact same folder on my mac (the goole app engine project is within my dropbox), I

[google-appengine] Re: Need help with a query...

2010-03-13 Thread Tim Hoffman
Hi You could try this. Create a composite string field of all three values padded with 0's for the numerics so that they will sort alphabetically for instance a new field (composite_field) date + foo + bar where date 20100221 (MMDD) foo is 2 bar is 00041 So your field

[google-appengine] Re: Need help with a query...

2010-03-13 Thread Tim Hoffman
Yuchh Ignore this. That will teach me for posting whilst half asleep. Complete rubbish T On Mar 13, 11:50 pm, Tim Hoffman zutes...@gmail.com wrote: Hi You could try this. Create a composite string field of all three values padded with 0's for the numerics so that they will sort

[google-appengine] decision making

2010-03-13 Thread Jeevan
hello all, am developing app called cloud based teaching system. Initially it accepts the google account user name and password for the user. I am thinking of provide 3 different level of authentication. 1)Student 2)Faculty 3)Admin Admin can add faculty and remove faculty and can do all

[google-appengine] Re: Invitation emails not sent durng the last days

2010-03-13 Thread Anekdotz
Hey there, I may be having the same problem. People have tried to invite me, but I don't see the invites in my mailbox. On Mar 12, 10:59 am, dflorey daniel.flo...@gmail.com wrote: Hi, I've experienced that invitation emails to invite developers to a App Engine application is not working

[google-appengine] Clarification on how we can use our 10 sites

2010-03-13 Thread Blake
I know we can't shard our app into 10 small sites just to get around quotas, but what about creating different versions of our site for different languages, data providers, etc? I'm making an Amazon affiliate site, and will eventually create a version for Japan, Canada, Europe, etc. And, I'd

[google-appengine] Datastore contention

2010-03-13 Thread vivpuri
Error rate on my app is way way too high for the past 16 hours. Getting tons of: too much contention on these datastore entities. please try again. Appengine status page does show Anamoly for datastore. AppEngine team, please let know what's going on there. Any estimates on fix for this issue

[google-appengine] Can't access my old application.

2010-03-13 Thread wizardwatson
I just came back from not really messing with GAE for nearly a year, and an old app that I installed has become inaccessible from the control panel. I go to the control panel and it only offers to me the option to create a new application. Well where is my old one? Its still accessible by the

Re: [google-appengine] Re: Clarification on how we can use our 10 sites

2010-03-13 Thread Blake Caldwell
Thanks. That's weird that you can only have 10 apps per phone number. They should let you buy more if you need em! --- Sent from my iPhone On Mar 13, 2010, at 3:49 PM, pythono arjun.va...@gmail.com wrote: I'm not a google employee or anything, but I think the TOS specifies that your apps

Re: [google-appengine] Uploading with the bulkloader.py

2010-03-13 Thread Eli Jones
Well, I am assuming this was a typo in your original e-mail (since the error does not seem to suggest you are actually running this command) but: --url=http://bulkmove.latest.railsturbinetest.appspot.com/ Should be: --url=http://bulkmove.latest.railsturbinetest.appspot.com/remote_api On Sat,

[google-appengine] Stop a nuclear disaster

2010-03-13 Thread pranny
Hi Google App Engine,Our government is churning out one hazardous bill after another. This time it is a bill called the Civil Liability for Nuclear Damage, and it's coming up for a vote in a couple of days. The bill lets U.S. corporations off the hook for any nuclear accidents they cause on