[Hibernate] problems with cascade

2007-11-21 Thread Ingo Villnow
Hello, i have the following problem. i have a table "projects" and a table "managers" with a i think called "1:N" relationship. My mapping file (partly): hibernate-mapping     class name="Project" table="Project"     set name="managers" inverse="true" cascade="all"     key   

Re: [Hibernate] problems with cascade

2007-11-21 Thread Massip, Etienne
No a hibernate member, but maybe cascade=all, delete-orphan could do the trick ? De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Ingo Villnow Envoyé : mercredi 21 novembre 2007 11:05 À : hibernate-devel@lists.sourceforge.net Objet : [Hibernate]

Re: [Hibernate] problems with cascade

2007-11-21 Thread Massip, Etienne
Did you try to set cascade to the value I mentioned in my previous post ? The project entry should not be deleted, if that's what you meant. De : Ingo Villnow [mailto:[EMAIL PROTECTED] Envoyé : mercredi 21 novembre 2007 11:20 À : Massip, Etienne Objet : Re:

[Hibernate] unsubscribe

2007-11-21 Thread Shardayyy
- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ hibernate-devel