You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Ray <ra...@yahoo.co.uk> on 2005/01/16 19:20:05 UTC

Cascading deletes

Hi there .... :-)

Is it possible to map cascading deletes in iBatis?


Re: Cascading deletes

Posted by Ray <ra...@yahoo.co.uk>.
No problem. I was just making sure I wasn't missing a trick. I'll just 
stick it in the DAO layer.

Thanks ... :-)


Larry Meadors wrote:
> I think what he means is can iBATIS provide the same functionality for
> you when you are not using Oracle.
> 
> Currently, no. :-)
> 
> That is something that you could do pretty easily by putting the two
> SQL statements in a single mapped statement (if your database allows
> it), or in your DAO layer.
> 
>>From the point of view of the application, it would be a single
> operation in either case.
> 
> Larry
> 
> 
> On Sun, 16 Jan 2005 14:01:40 -0700, Nathan Maves <Na...@sun.com> wrote:
> 
>>Not really sure what you are looking for....
>>
>>"on delete cascade"  is an oracle term that is used when the table is
>>created.  It takes care of all the work for you.  How/Why would you use
>>SqlMaps with it?
>>
>>Nathan
>>
>>On Jan 16, 2005, at 11:20 AM, Ray wrote:
>>
>>
>>>Hi there .... :-)
>>>
>>>Is it possible to map cascading deletes in iBatis?
>>>
>>
>>
> 
> 


Re: Cascading deletes

Posted by Larry Meadors <la...@gmail.com>.
I think what he means is can iBATIS provide the same functionality for
you when you are not using Oracle.

Currently, no. :-)

That is something that you could do pretty easily by putting the two
SQL statements in a single mapped statement (if your database allows
it), or in your DAO layer.

Re: Cascading deletes

Posted by Nathan Maves <Na...@Sun.COM>.
Not really sure what you are looking for....

"on delete cascade"  is an oracle term that is used when the table is 
created.  It takes care of all the work for you.  How/Why would you use 
SqlMaps with it?

Nathan

On Jan 16, 2005, at 11:20 AM, Ray wrote:

> Hi there .... :-)
>
> Is it possible to map cascading deletes in iBatis?
>