[Opensource] Implementing declarative referencial integrity

Michael Rimov rimovm at centercomp.com
Fri Aug 2 10:20:45 PDT 2002


At 05:31 PM 8/1/2002 +0200, you wrote:

>Hello,
>
>
>       According to the developer's guide, declarative referencial integrity
>can be used for DBObjects, but it doesn't say how.. I found about using
>foreign keys in MultiDBObjects, but they are read-only. In the rest of
>docs, FAQs and Forum I found nothng about it.
>
>       Is it actually possible?? If yes, how can it be done?

I would say that it's not fully available yet.  So far, if you call 
addDetail() from the 'master' dbobject then calling delete() can delete all 
the 'detail' objects.  However, I don't believe anybody has implemented 
anything further than that.  AT this point, I would still recommend adding 
referential integrity through mainly your database server.

HTH!
                                                 -Mike




More information about the Opensource mailing list