It is possible to keep fetching ahead, but you need to watch out for the 
classic hibernate "Could not fetch multiple bags" exception.  To do multiple 
fetching, you will just need to use aliases, for example:

SELECT c FROM Customer c LEFT JOIN FETCH c.phones cp JOIN FETCH cp.<some other 
collection>

Cheers,

Andy

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008342#4008342

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008342
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to