on-delete="cascade" (attribute of <key> tag)and/or check the inverse.
2009/4/6 graphicsxp <[email protected]> > > Hi, > > If I remove all the items in my collection and saves my entity to > which the collection belongs, I get one DELETE query per items. > How can I have all these items deleted with the same DELETE query > using something like : > > DELETE FROM myTable WHERE id IN (1, 2, 3 , ... ) > > Thanks > > > -- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. 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 -~----------~----~----~----~------~----~------~--~---
