You need to add parameter "fetch = FetchType.EAGER" to your one-to-many
relationship which returns a collection, and write code similar to the following in your
session bean.
Cruise cruise = manager.find(Cruise.class, cruiseID);
return cruise.getReservations();
Hope this will help
Regsrds
Adonis Mhlanga
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045018#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...