Hi everyone,

I wanted to try GAE for a tiny private project to test the
technology.

I am working with a Data model looking like this: http://yuml.me/284c95e9

Persisting of each entity works fine. Just when I try to handle the
associations, I am confused.

i.e. in my example I have two associations between Person and
ContactData. One holds all ContactData of a Person, the other marks
the registrationData. The registrationData is included in all
ContactData. As I learned, I cannot use a field of type ContactData
and List<ContactData>, instead I have to use Key and List<Key>. Ok.
got it. Person and ContactData (until now just Email) works.
Now I want to search a Person with a specific email-address as
registrationData. As far as I understand, I cannot use queries with
joins, right? How do I run such kind of queries? Do I have to search
all Emails and than another query with the found email-Key?
How do I delete a Person with all ContactData? Manually with foreach-
blocks?

Overall I think this kind of data handling is not very handy. It
throws us back to stoneage, because developers have to handle
associations by their own...

Martin

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