Hi,
Here is the query on page 415 of HF
EJB book:
SELECT DISTINCT OBJECT (d)
FROM DirectorSchema d, IN (d.movies) m
WHERE m.genre = 'Horror'
How does container find out all movies belonged to each director?
DD on page 395 only defines that there is relationship between director and
movie bean, but it does not say how these two are related. Of course
they are related by directorid key in the database, but this relationship is not defined in DD.
Thanks so much.