Thank you for replying  I understand what the key is, My question was that 
I have to recreate it every time I want to access the DataSotore. I guess I 
have to,

On Friday, 17 May 2019 08:53:12 UTC+1, tonycavanagh1929 wrote:
>
> Every Time I wish to carry out any CRUD operation on a datastore, I have 
> to create a Entity first to get the key.
>
> Entity entity = new Entity("Project", key.getProjectId());
> entity = datastoreService.get(entity.getKey());
>
> Is this correct.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/20a7a3fa-a9f0-470e-b220-8a46474f04b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to