I abandoned IOneShotDeleteHandler, trying now with DeleteEventListener. If I cannot delete through NH without deadlocking entire db, and I cannot suppress deletes issued by NH what else is left. Leave NH and do straight ado.net for the deletes?
On Sep 20, 1:14 pm, Fabio Maulo <[email protected]> wrote: > I'm inclined to think that your are still fighting with > OneShotDeleteHandler. > > I have looked to that post and I would know if you read the end of the post > and then understand which is your real problem (I mean the root problem and > not the problem caused by what you think is the solution). > This is the conclusion of that post: > "Make sure you use this solution for one-shot deletes wisely and only if you > have to. If you can use the CASCADE DELETE foreign key constraints, then by > all means, this is the preferred option." > > On Mon, Sep 20, 2010 at 3:02 PM, epitka <[email protected]> wrote: > > Is this supposed to work?. I try evicting items in the DeleteEvent > > Listener but NH still reports them as in session. > > > -- > > 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]<nhusers%[email protected] > > > > > . > > For more options, visit this group at > >http://groups.google.com/group/nhusers?hl=en. > > -- > 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.
