thatmikewilliams wrote:
If the system will be used by multiple concurrent users then you shouldn't keep the session open while the user modifies data. So, open the session, retrieve the data and before you close the session, force hibernate to load any lazy collections/objects that will be needed in you popup.
When the user has finished making changes, open a new session and merge the changes back into the database.
I understand that is the theory, one of my objects is attached via collections to just about the whole database. I guess I need a better understanding of lazy loads.
when i retireve an object which has a collection class associated with it, lazy loading I presume says load just the class and put place holders there for the collection. ?