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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/the_larsons% 40mac.com

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to