Re: Strange EO issue
Re: Strange EO issue
- Subject: Re: Strange EO issue
- From: MacFirst <email@hidden>
- Date: Tue, 14 Dec 2004 13:21:38 -0800
on 12/14/04 1:16 PM, David LeBer <email@hidden> went on and on saying,
in part:
>> 1. the EOModel reflects a different table as stated above.
>> 2. the code seems to get the data from the right tables.
> Yes because you explicitly fetch from the right tables
>> 3. the code inserts the data into only one of the tables,
>> GENEVA_BOOKING.
> That's just the luck of the draw, I don't know how EOF makes the
> decision with a conflict like this (two Classes mapped to the same
> Entities) but (obviously) it cannot decide correctly with the info it
> has.
>> I am using WO 5.2, XCode 1.5 on OS X 10.3.6
>>
>> If anyone has any ideas where else I should look, or whatever info I
>> need to consider, I'd appreciate it.
Why not keep the original Booking table, object & class as it was before,
but add "locationFK", a foreign key that points to your [new] Location
table. When searching the DB, just do everything as before, but add in "AND
locationFK=<#>"
_______________________________________________
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