Re: preventing foreign key to set to null

2007-01-31 Thread Armin Waibel
Hi, Christopher Cheng wrote: It seems that if set "auto-retrieve" to false for foreign key object, when I call broker.store(), it will also set the foreign key to null also! Supposing I have 2 tables Checks and CheckBooks As I call broker.retrieveObject,

preventing foreign key to set to null

2007-01-30 Thread Christopher Cheng
It seems that if set "auto-retrieve" to false for foreign key object, when I call broker.store(), it will also set the foreign key to null also! Supposing I have 2 tables Checks and CheckBooks As I call broker.retrieveObject, the checkbook attribute is null