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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to