Expert |
|
Joined: Thu May 26, 2005 9:19 am Posts: 262 Location: Oak Creek, WI
|
Hi,
You will have to initialize the child in the same session, else you will have the LazyInitializationException.
i.e)
If you want the child in the screen1, load the child along with the parent.
If you feel that in page1 parent object is enough and in page2 you are required to show child object..call ur backend to load the parent with child.
Hope this helps:-)
_________________ RamnathN
Senior Software Engineer
http://www.linkedin.com/in/ramnathn
Don't forget to rate.
|
|