Re: Lost of Object?
Re: Lost of Object?
- Subject: Re: Lost of Object?
- From: Mark Morris <email@hidden>
- Date: Tue, 28 Feb 2006 20:06:14 -0600
Jim,
Is this a typo?
i have a flattened relationship and when i try to do "return
opportunity.company().containsObject(companyItem);" it would give
a java.lang.NullPointerException error.
Is is supposed to be opportunity.companies(), or opportunity.companys
()? This should be a to-many relationship, returning an NSArray, not
a company object. By convention, the relationship name is plural,
and EOModeler will automatically give it a name ending in an "s". If
this isn't the method you intended, that could be the source of your
error.
Regards,
Mark
_______________________________________________
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