If your database has been normalized, I'd say you need something these
2 queries:
"SELECT FROM author.id WHERE author.name = nameParam, PARAMETER string
nameParam"
"SELECT FROM books WHERE book.author = idParam, PARAMETERS Key
idParam"

Or something like that. HTH.

On Jan 10, 11:40 pm, fhucho <fhu...@gmail.com> wrote:
> Hi, sorry for beginner question. I have authors and books in the
> database. Every author has list of books in a one to many owned
> relationship. I know the author's name, how can I retrieve the author
> and his books from database? I know how to get the author but not his
> books (Author.books).
-- 
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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


Reply via email to