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

Reply via email to