Currently, Abator does not analyse table relationships, so there's no way to automatically generate this type of statement now (a cascading delete).  Most real databases will allow you to configure cascading deletes in the database itself.  Personally, I think that's a better way to go if you really want to do it.
Jeff Butler

On 2/7/07, xianwinwin <> wrote:

Hi there,

Assuming I have in my table a foreign key. is there anyway to auto-generate
a statement such as:
deleteByForiegnKey? Currently, I do that manually and that is time

wonder if there's a quick solution for that.

thank you
View this message in context:
Sent from the iBATIS - User - Java mailing list archive at