kgignatyev wrote:
It does work in my experience, It looks like that guy did not have time to implement the proper solution (....I have 12 hours till...).
Note, lazy="false" should be set not only on properties of the object you are loading but on properties of properties if you need them. It is sometimes hard to track, for example:
if you need to show user.department.boss.name
then not just boss property of department should have specified lazy='false'
Thanks but when reading "Open Session in View", the "proper solution" as you said doen't seem so obvious...it seems that none of solutions is proper and some are really difficult to develop and we can't be sure to have something working after hours of coding :o)
thanks anyway..looking on other solution than hibernate for now...(EJB3 sounds better)