[appengine-java] How to upload primary key as an id instead of name

2010-06-30 Thread MANISH DHIMAN
Hi All When I upload data using CSV file on G A E. Primary key is stored there as a name instead of id. Example. Format of .yaml is Given below transformers: - kind: City connector: csv connector_options: encoding: utf-8 columns: from_header property_map: - property: __key__

Re: [appengine-java] How to upload primary key as an id instead of name

2010-07-12 Thread John Patterson
If you use the RemoteDatastore you have complete control in Java of what you key is. http://code.google.com/p/remote-datastore/ e.g. this code puts an entity with the id set in your remote datastore from your local machine: RemoteDatastore.install(); RemoteDatastore.divert("http://