Reference ID in GAE - Stack Overflow - 0 views
-
IDs aren't even unique within a kind; they're unique within a kind and entity group. The reason they're not sequential is that an instance is allocated a large block of IDs, and unused ones aren't assigned to later instances
Extending Entity to provide real POGO like qualities with names attributes - Gaelyk | G... - 0 views
-
a plugin is just a bunch of files as is accurately described in the docs and these files go in certain places in your application's folders in order to be used as is also accurately described in the docs.
How to query a __key__ in Datastore Viewer - Google App Engine for Java | Google Groups - 0 views
-
Try this: SELECT * FROM PreparedTransaction WHERE __key__=KEY('agdwYXllbGV4cjkLEhNQcmVwYXJlZFRyYW5zYWN0aW9uIiAwMDAwMGNjMjMwYzg2MTFjZTFhOWZjZDJkZDEzMWMyNww') This is documented here: http://code.google.com/appengine/docs/python/datastore/gqlreference.html
Extending Entity to provide real POGO like qualities with names attributes - Gaelyk | G... - 0 views
-
1) Show the plugins.groovy and routes.groovy files in the WEB-INF folder in the Gaelyk project diagram. They are currently absent from the diagram. 2 Put a star or some other icon next to the mandatory plugins folder and the 2 mandatory plugin files (plugins.groovy and the plugin descriptor file) in the diagram. This will help show that one just needs to mix in in these files with the rest of their own project's files.
How to upload primary key as an id instead of name - Google App Engine for Java | Googl... - 0 views
-
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://myVersion.latest.myApp.appspot.com/remote-datastore ", "myApp", "myVersion"); DatastoreService service = DatastoreServiceFactory.getDatastoreService(); Key key = KeyFactory.createKey("MyKindName, 35); Entity entity1 = new Entity(key); entity1.setProperty("property1", "hello"); datastore.put(Arrays.asList(entity1, entity2);
How to upload primary key as an id instead of name - Google App Engine for Java | Googl... - 0 views
-
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://myVersion.latest.myApp.appspot.com/remote-datastore ", "myApp", "myVersion"); DatastoreService service = DatastoreServiceFactory.getDatastoreService(); Key key = KeyFactory.createKey("MyKindName, 35); Entity entity1 = new Entity(key); entity1.setProperty("property1", "hello"); datastore.put(Arrays.asList(entity1, entity2);
-
You can do this now using the RemoteDatastore Java utility http://code.google.com/p/remote-datastore/ For example, this code runs on your desktop and creates a single entity in your live datastore: // divert datastore operations to live application RemoteDatastore.install(); RemoteDatastore.divert("http://myVersion.latest.myApp.appspot.com/remote-datastore ", "myApp", "myVersion"); // create an entity with a numeric key Key key = KeyFactory.createKey("MyKindName, 35); Entity entity1 = new Entity(key); entity1.setProperty("property1", "hello"); // put entity to the remote datastore DatastoreService service = DatastoreServiceFactory.getDatastoreService(); datastore.put(entity1); This also works for bulk puts
-
this won't be available until 1.3.6. You should be able to do something like this: - property: __key__ external_name: CityId export_transform: datastore.Key.id import_transform: lambda value: datastore.Key.from_path('City', int(value))
How to upload primary key as an id instead of name - Google App Engine for Java | Googl... - 0 views
-
You can do this now using the RemoteDatastore Java utility http://code.google.com/p/remote-datastore/ For example, this code runs on your desktop and creates a single entity in your live datastore: // divert datastore operations to live application RemoteDatastore.install(); RemoteDatastore.divert("http://myVersion.latest.myApp.appspot.com/remote-datastore ", "myApp", "myVersion"); // create an entity with a numeric key Key key = KeyFactory.createKey("MyKindName, 35); Entity entity1 = new Entity(key); entity1.setProperty("property1", "hello"); // put entity to the remote datastore DatastoreService service = DatastoreServiceFactory.getDatastoreService(); datastore.put(entity1); This also works for bulk puts
GAE JavaMail jumbles UTF-8 - Google App Engine for Java | Google Groups - 0 views
-
You should encode subject if using non-ASCII: msg.setSubject(MimeUtility.encodeText(_subject, "UTF-8", "Q"));
gaeoauthdemo - Project Hosting on Google Code - 0 views
-
This project has sample code for using OAuth support built in to AppEngine. Note that these features are only being made available at this time to get early feedback from the OAuth community.
HELP...OAUTH API - Google App Engine | Google Groups - 0 views
-
the oauth api google app engine provide is for OAUTH PROVIDER and not OAUTH CONSUMER.
Is _ah/openid_logout going to be a stable logout URL - Google App Engine | Google Groups - 0 views
-
It was one of the other ways to do it, I just wanted to avoid more code in my architecture just to do this (MVP has the disadvantage of added boilerplate for simple tasks like this one). Anyway I found a workaroud, passing the URL in an invisible div in my page and then reading and populating another field in my page using GWT RootPanel.get(id), using different ids for various parts of the page.
viewing the local data store - Google App Engine | Google Groups - 0 views
-
i had to do half an hour of googling to find the easiest solution; http://localhost:8080/_ah/admin/datastore imo it would be useful to have this information on http://code.google.com/appengine/docs/python/datastore/overview.html and related pages.
Google I/O 2010 - 0 views
Query - 0 views
« First
‹ Previous
501 - 520 of 592
Next ›
Last »
Showing 20▼ items per page