Hi , thanks for your answer,

your suggested link , is unclear,
I exactly want to know what is the  appropriate annotations must be  applied
to each side, can u help?

thanks

On Mon, Jul 13, 2009 at 5:27 PM, Oscar Alvarez <oialva...@gmail.com> wrote:

> Hi.
>
> Look at this,
> http://www.coderanch.com/t/216578/Object-Relational-Mapping/java/Hibernate-cascade-deletion-many-many
>
> HTH
>
> 2009/7/13 Reza Farshi <reza.far...@gmail.com>
>
>
>> Hi group,
>> in AppFuse there is a unidirectional Many-to-Many relation between User
>> and role, so deleting a user consequences deleting  a row  from user and
>> corresponding rows form user_role table,
>> but I also need  deleting role to be cascaded  , I mean when I delete a
>> role , corresponding roles form user_role table to be deleted too .
>>
>> what is  appropriate annotations must be  applied?
>>
>>
>> thanks. --Reza
>>
>>
>>
>>
>>
>
>
>
> --
> Atentamente
> Óscar Álvarez Vielma
> (09) 8416 4052
>



-- 

برای امنیت بیشتر،  آدرس فرستندگان پیشین را حذف کنید.
ضمنا آدرس گیرندگان جدید را در خط
Bcc
ثبت کنید.
این پیام را در ابتدای همه‌ی ایمیل‌های فورواردی بگذارید

Reply via email to