Thanks
Eric T. Blue wrote:
>
> I ran into this problem a couple years ago. It had something to do with
> the
> way XStream serialized the properties (not using getters/setters, but
> accessing the properties directly).
>
> I personally like XStream a lot, but because of this limitation we en
I ran into this problem a couple years ago. It had something to do with the
way XStream serialized the properties (not using getters/setters, but
accessing the properties directly).
I personally like XStream a lot, but because of this limitation we ended up
using Betwixt instead. There might be
On 3/25/09 3:35 PM, "AlexElba" wrote:
> The problem is this lists must be lazy. I don't want to make them not lazy
Whups!
Didn't see this before.
If you need lazy loading, then you'll have to write custom stuff in xstream
to filter out the proxies.
Cheers,
topher
If you don't want to turn off lazy loading, then this is more of an XStream
question. iBATIS proxies are no different from any other proxy, so you'll
need to deal with it at the XStream level (or unwrap it manually
beforehand).
Clinton
On Wed, Mar 25, 2009 at 3:35 PM, AlexElba wrote:
>
> BTW t
Try turning off the lazy loading (it uses the cglib bytecode instrumentation):
false
Cheers,
topher
-Original Message-
From: AlexElba [mailto:ramal...@yahoo.com]
Sent: Wed 3/25/2009 3:35 PM
To: user-java@ibatis.apache.org
Subject: Re: iBatis+xStream
BTW the file contains this for
BTW the file contains this for each group
set
true
true
false
true
false
true
Hello,
I am using iBatis to select data from db and after serialize it to xml using
xStream. During serialization I am getting unnecessary stuff
public class Office{
private String name;
private Employee employee;
..
getters/setters
...
}
public class Employee {
private List groups;
..
getter