I am getting very frustrated with an JPA mapping, please help!

I have several words lists: GMAT, SAT etc.  Same word can appear in
many different list.  The words list has description, creator etc.

In java, I have a class called WordList which contain a collection of
words.  Can anyone shred some idea on how to do it properly?  I
navigate from List to Word.

----------------------
I am doing following, which seem terrible for something so simple.  I
am sure there must be a better way:

1: WordList_Word_Mapping: save mappingId and WordId (gae does not
support jointable)
2. Word: underlying word, has no information about words list

When user want to find all word in a list, I have to do following:

1. query the Mapping to find all keys for word (using listname)
2. using the wordKey to construct a string like ('key1','key2')
3. query word using IN ('key1','key2')

Thanks.


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