On 8/1/06, John Siracusa <[EMAIL PROTECTED]> wrote: > On 8/1/06 6:43 PM, Danial Pearce wrote: >> create table foo ( >> id serial not null, >> foo text, >> primary key (id) >> ); >> >> create table bar ( >> foo_id int references foo(id), >> bar text, >> primary key (foo_id) >> ); > > In this situation, it shouldn't die on a call to $foo->bar, regardless of > the referential_integrity setting on the relationship. The fact that it > does so now is a bug. I'll fix it in the next release.
I've rearranged the interface to this stuff a little bit in SVN, but the results should still take care of your situation. If you get a chance, try the SVN version and let me know if it correctly makes the foo->bar relationship "optional" by default. svn co https://svn.sourceforge.net/svnroot/rose/trunk/modules/Rose-DB-Object -John ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object