ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Butler" <jeffgbut...@gmail.com>
Subject Re: can abator do this: delete By Foriegn Key?
Date Thu, 08 Feb 2007 16:08:12 GMT
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 <xianwinwin@gmail.com> 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.

View raw message