Re: Empty relationship that isn't null
Re: Empty relationship that isn't null
- Subject: Re: Empty relationship that isn't null
- From: Chuck Hill <email@hidden>
- Date: Mon, 16 May 2005 12:24:49 -0700
This is a to-one relationship? Is it marked as optional or mandatory?
Is the entityB FK in the EntityA object null, or does it have a value?
Chuck
On May 16, 2005, at 11:19 AM, DevReseune wrote:
Hi,
I have 2 entities bound with a relationship:
- EntityA
- entityB -> EntityB
- EntityB
When I fetch an EntityA, the relationship entityB is initialited with
an EOAccessDeferredFaultHandler (takeStoredValueForKey) while the SQL
select statement returns 0 row.
When I try to access to the relationship entityB, it is updated with
an _EOVectorKeyGlobalID (takeStoredValueForKey).
But, I expected a null value. What's the problem?
Webobjects 5.2.4
MacOS X Tiger (I have the same behavior on X.3).
Frédéric _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
village.net
This email sent to email@hidden
--
Practical WebObjects - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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