On Mon, Apr 17, 2006 at 08:20:26AM -0300, Jorge Godoy wrote:
> > InsertOne = TableA(VarA = 'foo')
> > InsertTwo = TableB(VarC=200, VarD=InsertOne.id)
> >
> I'm "jumping" in the middle of the discussion, but from what I understood he
> wants to make it mandatory to have "InsertTwo" after InsertOne, otherwise
> rollback the transaction...
I suspected this but wanted to be sure. You can achive that by
overriding ._crete() in TableA - every time a row in the table is being
created insert the row into TableB. Wanna have an example?
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss