Unfortunately, disabling lazy loading would cause a big impact on performance. I think disabling it can only be a temporary solution for me. Are there any plans on iBatis dev side to make LazyResultLoader serializable?
Kind regards ----- Original Message ---- From: Christopher Lamey <[EMAIL PROTECTED]> To: [email protected] Sent: Tuesday, July 29, 2008 9:52:03 PM Subject: Re: iBATIS 2.3.3. Clustering and Lazy Loading You need to disable the lazy loading and maybe the byte code enchancments in iBATIS. If you're caching, you might have to tweak the cache settings to allow for things to be serialized as well. Check out the settings element in the sqlmap config xml file. On 7/29/08 10:36 AM, "nch" <[EMAIL PROTECTED]> wrote: > > Hi, there. > I've upgraded to iBatis 2.3.3 (from 2.3.0) and Spring 2.5.5. I need my web > application to run on a clustered environment - tomcat 6 and session > replication. > I see tomcat can not replicate objects coming from iBatis. > > > 29-jul-2008 18:23:32 org.apache.catalina.ha.session.DeltaManager > requestCompleted > SEVERE: Unable to serialize delta request for sessionid > [D03E2DD6DEFBA8C805919A03C701C85A] > java.io.NotSerializableException: > com.ibatis.sqlmap.engine.mapping.result.loader.LazyResultLoader > at > java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156) > at > java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) > > > I thought this issue was solved in a previous version of iBatis. > Is there a solution for this issue in the svn? > > Regards > > > >
