Folks,

Once I get the user id, do I still need to run it through createKey or can I 
directly use the ID as the primary key?

User user = userservice.getCurrentUser();
String id = user.getUserId();
Key userIdKey = KeyFactory.createKey("Users", id);
Entity eUser = new Entity("Users", userIdKey);

Appreciate your help.

Regards,
Peter

Regards,


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to