Re: A relationship in a converted model now throws an exception on save

2009-01-14 Thread Chuck Hill
Hi Mai, On Jan 13, 2009, at 7:34 PM, MAI NGUYEN wrote: Hello Chuck: Mark the id attribute as Allows Null and then make the relationship optional. If the attribute is a primary key attribute and of a numeric type (ex. integer type), then you cannot set it to allow null. I got the same

Re: A relationship in a converted model now throws an exception on save

2009-01-14 Thread David Holt
Hi guys, On 14-Jan-09, at 9:47 AM, Chuck Hill wrote: Hi Mai, On Jan 13, 2009, at 7:34 PM, MAI NGUYEN wrote: Hello Chuck: Mark the id attribute as Allows Null and then make the relationship optional. If the attribute is a primary key attribute and of a numeric type (ex. integer type),

Re: A relationship in a converted model now throws an exception on save

2009-01-13 Thread Chuck Hill
On Jan 6, 2009, at 3:31 PM, David Holt wrote: An application that I have converted from XCode to Eclipse is throwing an error when I save a new document EO. I went back in and looked at the old version of the model in the XCode app and the relationship is marked as to-one optional. The

Re: A relationship in a converted model now throws an exception on save

2009-01-06 Thread Kevin Windham
On Jan 6, 2009, at 5:31 PM, David Holt wrote: An application that I have converted from XCode to Eclipse is throwing an error when I save a new document EO. I went back in and looked at the old version of the model in the XCode app and the relationship is marked as to-one optional. The