I have what I think is a simple problem but I can't find the solution anywhere. I have a bean with a number of collections that I load lazily which makes sense because I load them into a list. Then when one is selected I want to load it in non-lazily into a JSF session attribute. I simply can't find a way to do this, I've found ways of declaring each collection and either initialising them one by one or by using a FETCH clause on it one when I retrieve it. There must be a way of simply loading the object and all it's refrences in a concrete manner, please help.
|