Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOGenericObject problem



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:
http://lists.apple.com/mailman/options/webobjects-dev/the_larsons% 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: http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden
References: 
 >objectsMatchingKeyAndValue woes (From: Philippe Lafoucrière <email@hidden>)
 >Re: objectsMatchingKeyAndValue woes (From: Miguel Arroz <email@hidden>)
 >Re: objectsMatchingKeyAndValue woes (From: Philippe Lafoucrière <email@hidden>)
 >Re: objectsMatchingKeyAndValue woes (From: Philippe Lafoucrière <email@hidden>)
 >Re: objectsMatchingKeyAndValue woes (From: Miguel Arroz <email@hidden>)
 >Re: objectsMatchingKeyAndValue woes (From: Philippe Lafoucrière <email@hidden>)
 >Re: objectsMatchingKeyAndValue woes (From: James Cicenia <email@hidden>)
 >EOGenericObject problem (From: Bob Stuart <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.