[EMAIL PROTECTED] wrote:
> But my big problem is: how do we know which _loaded_ objects were deleted?
> I don't think there is any good way to do this. All we get back from DELETE
> is a row count.

How about doing the mass delete, and then building a select statement to
see which of the loaded objects do not exist anymore? i.e.
  select id from foo where id not in (?, ?, ?, ...)

Chris




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to