Re: [appengine-java] Migration to HRD

2011-10-21 Thread Alfred Fuller
The copy MR code is available here: http://code.google.com/p/googleappengine/source/browse/trunk/python/google/appengine/ext/datastore_admin/copy_handler.py It is not doing anything special, it can be adapted to do what ever you need. Though it looks like you are a Java programmer (which might

[appengine-java] java.lang.IllegalStateException: Found a jar file too large to

2011-10-21 Thread David Fernando
Getting error upload war file to Google App Engine. I got the error on command prompt. java.lang.IllegalStateException: Found a jar file too large to upload: C:\DOCUM E~1\USER~1.SER\LOCALS~1\Temp \appcfg5890729387545.tmp\WEB-INF\lib\gwt-user.ja r. Consider using --enable_jar_splitting. --

[appengine-java] Persist Child with Parent

2011-10-21 Thread Dampeel
hi everyone, I have some doubts about the way JDP persistence manager persists related objects. 1) I have an owned relation between a Parent class and a Child class. If I change a property of the child, is the makePersistent(parent) also persisting the child ? 2) I noticed in my source that I

[appengine-java] Using overloaded put, get, and delete methods for transactions?

2011-10-21 Thread Mos
I'm a bit confused: Following some examples and looking at the API of the DatastoreService it seems to be required to use the overloaded methods whenever transactional behavior is required. In other words: The current transaction needs to be specified on put() und get() methods like this:

[appengine-java] with the 1.5.5 sdk, the local_db.bin file format has changed

2011-10-21 Thread Tommy Fannon
It seems to need to be deleted and re-created. I want to make sure that when I deploy my app to production that existing data is not going to be trashed. I'm sure I would have read about this already, but never hurts to be sure. Thank you, tommy -- You received this message because you are

Re: [appengine-java] with the 1.5.5 sdk, the local_db.bin file format has changed

2011-10-21 Thread Jeff Schnitzer
The local dev database frequently gets invalidated at SDK upgrades. It should not be considered a reliable store. No data is trashed in the production database. Jeff On Fri, Oct 21, 2011 at 10:28 AM, Tommy Fannon tfan...@gmail.com wrote: It seems to need to be deleted and re-created. I

Re: [appengine-java] Using overloaded put, get, and delete methods for transactions?

2011-10-21 Thread Jeff Schnitzer
Implicit transactions are a separate issue (and a terrible idea). When the low-level api starts a transaction, it stores this txn as a thread local. The get()/put()/etc methods that don't have a transaction are effectively this logic: Entity get(Key key) { if (there is a thread local txn)