Hi,
In an EJBQL query you can fetch the collection by using a fetch join, such as the
following example (taken from Enterprise Java Beans 3.0)
SELECT c FROM Customer c LEFT JOIN FETCH c.phones
Where Customer is an entity containing a collection (relationship) of phones.
Cheers,
Andy
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008270#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...