RE: java.io.NotSerializableException: com.ibatis.db.sqlmap.LazyLoadList

2006-08-24 Thread Mkhitaryan, Aram
Don’t use lazy loading if your data will be transferred (via rmi,…). And moving to 2.x will not help, I don’t think that it can help.   And also it is not good for performance. Even if in new releases lazy loading will support Remote interface for RMI, you will

RE: java.io.NotSerializableException: com.ibatis.db.sqlmap.LazyLoadList

2006-08-23 Thread Khanna, Vijay \(GE, Corporate, consultant\)
I did run a custom test to write & read the instances in the list.It failed as somehow the List now contains non-serializable objects (e.g BrokerBean) returned by 'executeQueryForList()'. I made sure that Broker bean, member data (lists containing other beans) are serializable. As per the Jboss

RE: java.io.NotSerializableException: com.ibatis.db.sqlmap.LazyLoadList

2006-08-23 Thread Chris Lamey
On Wed, 2006-08-23 at 13:54 -0400, Khanna, Vijay (GE, Corporate, consultant) wrote: > Jboss gave us a utility class as a Listener to find the actual object in > the list causing this concern when stored in the HttpSession. To my > surprise it found one bean/DTO type which is not serializable. I qu

RE: java.io.NotSerializableException: com.ibatis.db.sqlmap.LazyLoadList

2006-08-23 Thread Khanna, Vijay \(GE, Corporate, consultant\)
: Re: java.io.NotSerializableException: com.ibatis.db.sqlmap.LazyLoadList I think the problem is in the underlying jdk classes used by LazyLoadList... seems like someone here told me that before. b Chris Lamey wrote: > Looks to me like com.ibatis.db.sqlmap.LazyLoadList isn't Serializabl

Re: java.io.NotSerializableException: com.ibatis.db.sqlmap.LazyLoadList

2006-08-23 Thread Ben Munat
I think the problem is in the underlying jdk classes used by LazyLoadList... seems like someone here told me that before. b Chris Lamey wrote: Looks to me like com.ibatis.db.sqlmap.LazyLoadList isn't Serializable, so you can't use it in your distributed cache. If you have the 1.x iBATIS sourc

RE: java.io.NotSerializableException: com.ibatis.db.sqlmap.LazyLoadList

2006-08-23 Thread Chris Lamey
Looks to me like com.ibatis.db.sqlmap.LazyLoadList isn't Serializable, so you can't use it in your distributed cache. If you have the 1.x iBATIS source around, you could verify that. I'm not sure why you're thinking java.lang.Object is the culprit...the method java.util.ArrayList.writeObject is o

RE: java.io.NotSerializableException: com.ibatis.db.sqlmap.LazyLoadList

2006-08-23 Thread Khanna, Vijay \(GE, Corporate, consultant\)
Hi,   Any help on this issue please ?   Thanks, Vijay From: Khanna, Vijay (GE, Corporate, consultant) Sent: Wednesday, August 23, 2006 10:22 AMTo: user-java@ibatis.apache.orgSubject: java.io.NotSerializableException: com.ibatis.db.sqlmap.LazyLoadList Hello,   We are using Ibatis 1.x alon

RE: java.io.NotSerializableException: com.ibatis.db.sqlmap.LazyLoadList

2006-07-03 Thread Poitras Christian
As far as I know, lazy objects cannot be serialized. Christian -Original Message- From: Neeraj Varshney [mailto:[EMAIL PROTECTED] Sent: Friday, 30 June 2006 05:04 To: user-java@ibatis.apache.org Subject: java.io.NotSerializableException: com.ibatis.db.sqlmap.LazyLoadList Hi, I am usin