Hi,

are you sure, that they are really the same ?

I guess that it can only seem that two entities have the same
generated numeric ID, but maybe they have ancestors ? Because if they
have ancestors, then the keys are different in fact.
For example:
  KeyFactory.Builder("EntityA", 1001).addChild("EntityB", 1)
  KeyFactory.Builder("EntityA", 1002).addChild("EntityB", 1)

in the Datastore Viewer you can then see that there are two entities
EntityB with the same id=1. If you click to see the detail of the each
entity, then you will see that they have different ancestors.

Vaclav


On Feb 18, 9:13 am, sujata pagar <[email protected]> wrote:
> Hi,
>
> In my GAE application(Implemented in java) when I insert record in
> datastore, ID(generated by datastore) gets repeated.Please tell me the
> solution for my problem.
>
> Thanks
>
> --
> Regards,
> Sujata...

-- 
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