Re: [appengine-java] bulkloader dump and restore

2010-05-25 Thread Pavel Byles
bump On Mon, May 24, 2010 at 10:20 AM, Pavel Byles pavelby...@gmail.com wrote: I'm having a problem w/ bulkloading entities for my Java app and specifying autogenerated id's in my python model. My Java class look similar to this: @PersistenceCapable(identityType = IdentityType.APPLICATION

Re: [appengine-java] bulkloader dump and restore

2010-05-24 Thread Pavel Byles
I'm having a problem w/ bulkloading entities for my Java app and specifying autogenerated id's in my python model. My Java class look similar to this: @PersistenceCapable(identityType = IdentityType.APPLICATION) public class MyEntity implements Serializable { @PrimaryKey

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

2010-03-13 Thread Pavel Byles
{ private static final Logger log = Logger.getLogger(Picture.class.getName()); @PrimaryKey private String fileName; ... Picture doesn't extend Serializable and my key is not an id... On 12 mar, 14:41, Pavel Byles pavelby...@gmail.com wrote: I'm trying

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] Error when deleting entities - Id cannot be zero

2010-03-12 Thread Pavel Byles
I'm trying to delete all entities in my datastore but I receive the following error: javax.jdo.JDOUserException: One or more instances could not be deleted... NestedThrowablesStackTrace: java.lang.IllegalArgumentException: id cannot be zero... Caused by:java.lang.IllegalArgumentException: id

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

2010-03-12 Thread Pavel Byles
Anyone? On Fri, Mar 12, 2010 at 8:41 AM, Pavel Byles pavelby...@gmail.com wrote: I'm trying to delete all entities in my datastore but I receive the following error: javax.jdo.JDOUserException: One or more instances could not be deleted... NestedThrowablesStackTrace

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

2010-03-12 Thread Pavel Byles
GWT: 2.0.3 On Fri, Mar 12, 2010 at 4:38 PM, Max Ross (Google) maxr+appeng...@google.com maxr%2bappeng...@google.com wrote: What version of the sdk are you using? On Fri, Mar 12, 2010 at 1:36 PM, Pavel Byles pavelby...@gmail.com wrote: Anyone? On Fri, Mar 12, 2010 at 8:41 AM, Pavel Byles

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

2010-03-12 Thread Pavel Byles
1.3.1 On Fri, Mar 12, 2010 at 4:51 PM, Max Ross (Google) maxr+appeng...@google.com maxr%2bappeng...@google.com wrote: Which version of the App Engine SDK? On Fri, Mar 12, 2010 at 1:43 PM, Pavel Byles pavelby...@gmail.com wrote: GWT: 2.0.3 On Fri, Mar 12, 2010 at 4:38 PM, Max Ross