Re: EOGenericObject problem
Re: EOGenericObject problem
- Subject: Re: EOGenericObject problem
- From: John Larson <email@hidden>
- Date: Mon, 18 Dec 2006 06:05:07 -0600
You have to have the fully qualified class name in the model (i.e.
com.myapp.Sibling). The simple class name isn't enough after you've
moved the classes into packages. Does that help?
John
On Dec 17, 2006, at 11:41 PM, Bob Stuart wrote:
After some refactoring classes into packages one of my
relationships is now returning an array of EOGenericObject instead
of the actual class. Example inspection of one of the objects from
the array is
(com.webobjects.eocontrol.EOGenericRecord) {values = {lastName =
"Delcore"; entryStamp = 2006-07-26 19:23:24 Etc/GMT; toUpdate =
"<com.abc.model.Update fc269b _EOIntegralKeyGlobalID[Update
(java.lang.Integer)1010043]>"; firstName = "Derer"; toGender =
"<com.abc.model.GenderLU 39f05e _EOIntegralKeyGlobalID[GenderLU
(java.lang.Integer)1]>"; age = 6; middleName =
<com.webobjects.foundation.NSKeyValueCoding$Null>; }; this =
"<com.webobjects.eocontrol.EOGenericRecord 41a196
_EOIntegralKeyGlobalID[Sibling (java.lang.Integer)1014625]>"; }
I was expecting the EOGenericRecord to actually be a "Sibling"
entity. I think I have my Model correct. The code used to work
before we moved classes around to packages. Any suggestions?
--
Bob Stuart
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
_______________________________________________
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