[Topaz-dev] serializing Article from Session.get()
Jeff Suttor
jsuttor at plos.org
Fri Mar 7 19:04:45 PST 2008
On 03/07/2008 05:38 PM, Pradeep Krishnan wrote:
> Yes, this is due to proxies.
>...
> So what needs to be done somehow is to
> ensure that the proxy class somehow replaces the object that is
> serialized with an instance of its super-class. The alternatives that we
> could come up with all involves a copy/clone instance.
in general we want a real Article, Serialization is this use case.
is it as simple as:
Article realArticle = articleFromSession.clone();
or is the proxy cloned? :)
thanks,
--
Jeff
More information about the Topaz-Dev
mailing list