db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Silvio Godenzi <gode...@masterpoint.com>
Subject creation sequence
Date Fri, 10 Dec 2004 10:35:51 GMT

>>dropping everything in reverse order than it was created should
>>avoid referential integrity violations.
>>    
>>
>
>But what is the "creation sequence"?
>
One valid creation sequence can be found out by doing a topological sort
on the DB schema.

> This might be different for
>different databases (consider inline foreign key generation to
>outside).
>  
>
Small support in the in the
org.apache.torque.adapter.DB like
public abstract boolean hasOutsideForeignKeys()
would be helpful.

Regards Silvio



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message