Re: How to not persist an object

Todd Hivnor <[email protected]>
Newsgroups gmane.comp.java.openamf.user
Message-ID <[email protected]>
With nornal Java serialization, if you want to declare that something should
not be serialized, you use the "transient" keyword. I haven't personally
used this in OpenAMF, but that seems like the right way to do it.

   - Todd


Dan Glauser wrote:

> Hello all,
>
> I have a group of nested objects that I am trying to send over the 
> wire with OpenAMF.  I would like the AMFSerializer to not serialize 
> one of the object's properties.  I need to have a getter for this 
> property however because this property is managed via Hibernate.
>
> Any advice would be appreciated.
>
> Thanks!
>
> --
> Dan
> [email protected] 




-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.