ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kai Mutz <kmu...@googlemail.com>
Subject RE: spring 2.5.5 and ibatis 2.3.2
Date Tue, 08 Jul 2008 09:25:55 GMT
nch <mailto:underscore_dot@yahoo.com> wrote:
> Well, the only reason why I didn't decide to go for 2.3.2 is that I
> was confortable with 2.3.0 untill I found tomcat was not replicating
> sessions (I need this for clustering). So I took a look to 2.3.1
> release notes which explicitly say "# [IBATIS-419] - LazyLoad object
> is not serializable."
>

Is [IBATIS-419] really fixed? I have updated to 2.3.2 yesterday, enabled
lazy loading and got:

org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException
: Unable to serialize class:
com.ibatis.sqlmap.engine.mapping.result.loader.LazyResultLoader
Field hierarchy is:
[...]
private java.util.List mypackage.User.roles [class=$Proxy13]
	protected java.lang.reflect.InvocationHandler java.lang.reflect.Proxy.h
[class=com.ibatis.sqlmap.engine.mapping.result.loader.LazyResultLoader]
<----- field that is not serializable

Regards, Kai


Mime
View raw message