If its owned relation u don't need to generate child key.it will be generated 
automatically.
And if it is unowned then u can generate the child key in same way as u 
generated for parent.

Sent from my BlackBerry® wireless device

-----Original Message-----
From: Amit Pandey <[email protected]>
Sender: [email protected]
Date: Tue, 14 Dec 2010 19:09:07 
To: <[email protected]>
Reply-To: [email protected]
Subject: Re: [appengine-java] Parent-Child relation if parent primary key is
 generated by Datastore

Is there any one who can address my problem.

On Tue, Dec 14, 2010 at 12:59 PM, Amit Pandey <[email protected]> wrote:

>
> Hi,
>
> Is there any way to create parent child relation between two table if
> parent table's primary key is Long and generated by Datastore.
>
> basically, I don't know how to create child class key if parent class key
> is generated by datastore.
>
> Thanks,
>  Amit
>
> --
> 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]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>

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


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