Hi Emami,
as far as I know does hibernate return cglib proxies to the original
object if you switch to lazy. This cglib proxies may cause castor's
marshaller to fail. The only suggestion I can give here is to not use
lazy fetch.
Ralf
Ali Emami schrieb:
I am trying to marshall an object after I fetch it from the persistance
layer (hibernate on postgres)
this is the snippet of my code where I'm trying to marshal the object,
but the marshal method never returns
Marshaller marshaller = new Marshaller(writer);
marshaller.setMapping(mapping);
* marshaller.marshal(obj); <---------- *this line never returnes
this only happens when I enable the lazy fetch in hibernate, whithout
the lazy fetch it works fine.
any idea??
thanks a lot
-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:
[EMAIL PROTECTED]
-------------------------------------------------