Hi,
I have a class called CompanyImpl which represents a company. Within this
class I have a list of users (List that contains a UserImpl objects). Our
application uses a MVC model. Right now, we have a class callled
DataAccessLayer which has all the persistence methods. There are 'restore'
method
Really, the correct approach is to use lazy initialization
together with "open session in view".
Alternatively, you can use an OUTER JOIN FETCH query to
retrieve the users more efficiently.
Andrew Zeon wrote:
Hi,
I have a class called CompanyImpl which represents a company. Within this
class I ha