cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Serialization problem
Date Mon, 05 Mar 2012 13:40:14 GMT

On Mar 5, 2012, at 6:53 AM, Erlend Birkenes wrote:

>> 
>> 
>> Appreciate if you can open a bug report in Cayenne Jira. I think we can
>> fix it...
>> 
> 
> I can do that, but I'm not yet sure that it is a Cayenne problem. Cayenne
> tries to serialize only the ObjectId if possible, and by calling
> defaultWriteObject wouldn't you lose that functionality? Wouldn't it then
> serialize all the fields every time? I don't think we want that. Or did you
> have another solution in mind?

I think I we can achieve compliant serialization behavior by using "transient" on fields that
are serialized manually. But yeah, this is certainly low priority, especially since you've
found a workaround.

Andrus


Mime
View raw message