failed to lazily initialize a collection of role hibernate3
Joined: Nov 21, 2006
I have one to one mapping between three objects.
Job --> salesRole --> positionTemplate.
I am getting this "failed to lazily initialize a collection of role" error with hibernate 3. i tried to use lazy="false" to force hibernate to load eagerly.
still i get the same error when i try to access position template fields. Here are my hibernate mapping files.
Can some one please point out the problem. here is how i am loading Job object.