Re: [appengine-java] Re: Query for a Long id using getObjectById JDO

2010-11-03 Thread Cyrille Vincey
ubject: [appengine-java] Re: Query for a Long id using getObjectById JDO After doing some reading, I realized that in GAE datastore, an entity is stored using the key value and a key name or ID. The key name has to be a string and the ID is long. The key name can be created by the application and ca

[appengine-java] Re: Query for a Long id using getObjectById JDO

2010-11-03 Thread giannisdag
After doing some reading, I realized that in GAE datastore, an entity is stored using the key value and a key name or ID. The key name has to be a string and the ID is long. The key name can be created by the application and can be created like this as an example: Key key = KeyFactory.createKey(Em