Re: Strange error message
Camille Troillard <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.eof |
|---|---|
| Message-ID | <[email protected]> |
Hi Anjo, First of all, thank you for the help. On Tuesday, Oct 8, 2002, at 18:51 Europe/Paris, Anjo Krank wrote: > This seems like another case of the problem you had with your PKs for > the reference entities - for which I also have no explanation? I have more infos about my problem: Here are the steps I did to reproduce something "weird". 1. Create an "ODAgency" object. The object has been correctly created in the database (ID: 1000004). 2. Fetch the "ODAgency" objects. Only 2 objects, there should be 3. A. I don't see the object I just inserted (though it is in the DB). B. The first one in an ODAgency, the second one is ... a ODAdvertiser !!!! With ID, guess what ??? ID: 1000004 (same as the newly created advertiser). The thing is that is seems that EOF gets confused with PK. If two entities raws have the same PK, then I have a problem. But I can't tell why ... > Can you post that model somewhere? For reason you understand, I'll post you the model privately. If someone is willing to help me no problem, as far as I know to who I post the model, then it's ok. Thanks again, Camille