James,

Is the to-one relationship marked as mandatory? If it is, EOF will create the mandatory to-one for you.

Ken

On Apr 27, 2008, at 12:20 PM, James Cicenia wrote:

OK-

I have tripled checked my database and my model.

I have a row it the database where the partner_link_id is null in campaign.
It once contained a value.
I deleted the partner_link and relied on the nullify directive in EntityModeler
That seemed to work.


Now, however when I go into a campaign and test for campaign.partnerLink()==null
I am getting a false positive?

And, all the attributes of this supposed partnerLink are null.

Finally a debug says:

campaignItem.partnerLink() IS <java.lang.Class(c6a657) Fault _EOIntegralKeyGlobalID[PartnerLink (java.lang.Integer)102887]>

That number 102887 isn't even correct as the last EO_PK for that table is 102885?!

Thoughts?

James Cicenia
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com

This email sent to [EMAIL PROTECTED]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
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