Hi,

I have a problem with LazyInitializationException.

I am working with JSF+ Spring + JPA + Hibernate. I am using Web Service
also.

This problem occurs when i am trying to access the List from the service to
the Command class which is used by JSF. I iterated and printed the list of
objects in the service layer and it is working but when i am trying to
access the List in the command class it shows the error of LazyIni........

<filter-name>hibernateFilter</filter-name>


<filter-class>org.springframework.orm.hibernate3.support.OpenSessionInViewFilter</filter-class>
 <init-param>
   <param-name>singleSession</param-name>
   <param-value>false</param-value>
   </init-param>
   </filter>

        <filter-mapping>
    <filter-name>hibernateFilter</filter-name>
     <url-pattern>*.*</url-pattern>
  </filter-mapping>

This has been added extra to my web.xml then also it shows this error.
Please help me to over come this problem i have spent a lot on it.

Thanks in advance

Thufail

-- 
View this message in context: 
http://www.nabble.com/LazyInitializationException-again-tf4654121s2369.html#a13664228
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to