It looks like you are modeling a One-To-Many relationship:
http://code.google.com/appengine/docs/java/datastore/relationships.html

Set the Position as the root entity and the Application as a child entity.
If an Applicant is applying to multiple Positions, then you will want to
explore Many-To-Many functionality.

On Sun, Jan 31, 2010 at 5:17 PM, Haroon <[email protected]> wrote:

> Hi,
> The one issue I’m struggling with is how to get the ‘join’
> functionality offered by Relational Databases. If I have a ‘Position’
> entity and an ‘Applicant’ entity, how can I query a list of all
> ‘positions’ an applicant has applied to, and get the ‘Applicant’ name
> back in the result of that one query, rather than just the applicant
> ID?
>
> This is the problem that ‘join’ solves in and RDBMS. Can you please
> suggest how I can do this using Objectify or JDO in the google
> datastore?
>
> Thanks!
>
> Haroon
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
Ikai Lan
Developer Programs Engineer, Google App Engine
http://googleappengine.blogspot.com | http://twitter.com/app_engine

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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?hl=en.

Reply via email to