LAZY « Exception « JSP-Servlet Q&A

1. Use Join Fetch but still obtain LAZY exception

Hi, i am having some problems with retrieving my entity. The error i got is: Exception Description: An attempt was made to traverse a relationship using indirection that had a null Session. This often occurs when an entity with an uninstantiated LAZY relationship is serialized and that lazy relationship is traversed after serialization. To avoid this issue, instantiate the LAZY relationship ...

3. Lazy Initialization Exception