• 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
Re: EOGenericObject problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
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>)

  • Prev by Date: EOModels through annotations and reflection
  • Next by Date: Performace Problem
  • Previous by thread: EOGenericObject problem
  • Next by thread: Re: EOGenericObject problem
  • Index(es):
    • Date
    • Thread