Hello

I have a relationship between "country" and "city" table,

Here are the HBM WINDOWS each one


in file HBM of "City"
<many-to-one name="pays" column="vi_paCode" cascade="all"/>


in file HBM of "country"

 <bag name="villes" cascade="all">
      <key column="vi_paCode" />
      <one-to-many class="Ville" />
    </bag>



when I delete a "country" normally go automatically delete  the "country" 
and "city" because i have relationships, but when I check in comics I found 
that 
the country is deleted

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/nhusers/-/DS9AgP-UCLMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to