Serialize a EOGenericRecord error
Serialize a EOGenericRecord error
- Subject: Serialize a EOGenericRecord error
- From: Andres Toussaint <email@hidden>
- Date: Tue, 01 Mar 2005 09:36:48 -0500
I am trying to serialize a EOGenericRecord into a Transferable, but I am
getting this error:
java.io.NotSerializableException:
com.webobjects.eodistribution.client.EOAttribute
The API states that the EOGenericRecord IS Serializable, altough it also
states that EOAttribute is not. My main question is: How to make a
EOGenericRecord Serializable?
When I fetched the Record, the fetch was NOT DEEP.
My EOGenericRecord is actually a EOModeler generated Java Class
(subclass of EOGenericRecord with attribute acccessors, no additional
editing) with some attributes (String and int) and a couple of
relationships.
A myRecord.toString() produces the following:
{values = {manufacturer = "<woeasysvg.client.businessLogic.Manufacturer
10dc656 _EOIntegralKeyGlobalID[Manufacturer (java.lang.Integer)3]>";
componentTypeID = 1; componentgroup = "null"; componenttype =
"<woeasysvg.client.businessLogic.ComponentType 541b02
(com.webobjects.eodistribution.client.EODistributedFaultHandler
_EOIntegralKeyGlobalID[ComponentType (java.lang.Integer)1])>"; images =
"<com.webobjects.eocontrol._EOCheapCopyMutableArray 285d14 (<class
com.webobjects.eodistribution.client.EODistributedArrayFaultHandlerrelationshipName=images,
GID=_EOIntegralKeyGlobalID[Component (java.lang.Integer)4])>)>"; groupID
= <com.webobjects.foundation.NSKeyValueCoding$Null>; name = "Beech NO
group"; manufacturerID = 3; }; this =
"<woeasysvg.client.businessLogic.Component bc9673
_EOIntegralKeyGlobalID[Component (java.lang.Integer)4]>"; }
Thanks,
Andres.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden