Re: Null Object on Commit

2006-06-01 Thread Chuck Hill
It may be trying to propagate a null primary key. That is, it has not generated a PK for an object that is marked to propagate its PK to one of its related objects. These sorts of bugs are a real bother to track down. Chuck On Jun 1, 2006, at 9:27 PM, Owen McKerrow wrote: Hi Ken, I d

Re: Null Object on Commit

2006-06-01 Thread Owen McKerrow
Hi Ken, I double checked and none of there are no to-one's that will be created when an instance of this object is made. And if memory serves me correct;y I believe I would get an error about not allowing null relationships. The error below is talking about a Null value in a Dictionary. W

Re: Null Object on Commit

2006-06-01 Thread Ken Anderson
Owen, When you have a to-one relationship that's mandatory, EOF will automatically create the related object for you. If you then create your own and call the to-one relationship set method, the one EOF created for you will just be floating around in the editing context. So, the one you

Null Object on Commit

2006-06-01 Thread Owen McKerrow
Hi All, We're working with a 3rd Party DB that we can't modify the schema of and are receiving a strange error when trying to add a new row to a particular table. Below is the SQL that WO is generating and below that the error that is produced. Its an Orcale 9i DB. However when we look at