On Thu, 20 Nov 2003, Andrus Adamchik wrote:
> I have to look for the exact reasons why it breaks. The workaround
> you've mentioned makes total sense and should work just fine. I opened
> a bug report (classified as "improvement request"):
>
> http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-41
Thank you.
> On a side note, have you ever thought of a modeling this in DB as an
> optional PK->PK "master->dependent" relationship? Such one-one
> relationships are fully supported in Cayenne. Since from your schema
> "engine" can't exist without a car record anyway.
Currently engine and car does not have the same primary key. But they
probably should. We got into this mess over time :)
- Tore.
This archive was generated by hypermail 2.0.0 : Fri Nov 21 2003 - 03:43:20 EST