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 <[EMAIL PROTECTED]> 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
consuming.

wonder if there's a quick solution for that.

thank you
--
View this message in context:
http://www.nabble.com/can-abator-do-this%3A-delete-By-Foriegn-Key--tf3190712.html#a8857583
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


Reply via email to