• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Serialize a EOGenericRecord error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: two sessions started
  • Next by Date: Re: two sessions started
  • Previous by thread: Re: two sessions started
  • Next by thread: WebObjects 5.2.3, EOModeler and MySQL
  • Index(es):
    • Date
    • Thread