But each case is a atomic, so to not recreate a key, I would need to store 
it somwhere mapped to a id. The idea is that the user sends CRUD operations 
via CRUD. For each object, I would just pass an ID. And Id is diiferent to 
a key. 
So on each new call to the datastore to say update an entity. I would have 
to use the ID to generate the key. 

Are you saying store  the id and the Key in say memcache on the 
microservice.

Thanks Tony

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/00dbf25a-ceda-4de5-899b-e3a999f8987c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to