How do you explicitely load a lazy Object/collection? So far I've found the only way to do this is to explicitely ask for a getter/setter of the object while it is still attached to the session: ie
List < Account > accounts = Bank.getAccounts();
accounts.get(i).getAccountNumber();
Is there another less dodgy way to do this?
I work with Spring btw, so depending on what service is being called, I want to load different collections/obkjects