Hi Guys,

I am new to JDO and Google App engine. I have a basic question here. I
have 2 entity UserEntity  and CandidateEntity. The UserEntity  and
CandadateEnity have Unowned RelationShips. So now I create objects of
both UserEntity and CandidateEntity and save it using the following
code

PersistenceManager pm = getPersistenceManagerFactory()
                                .getPersistenceManager();
                try {
                        pm.makePersistent(s);
                } finally {
                        pm.close();
                }

This way I save both the entities. Now how do I tie them in Unowned
Relationship so that when I query Candidate I get userEntity also?

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].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to