Hey Fabio,

How do I implement my own batcher. Any links , or docs regarding to
that ?
I am aware of the risks, I still believe this should be an optional
feature just like other concurrency mechanisms.

On Aug 25, 12:51 am, Fabio Maulo <[email protected]> wrote:
> You can implements your own batcher and inject it through NH configuration.
> In your batcher you can nullify the row-count-check.
> When you will have a real issue related to updated rows you can light a
> candle in church and pray a while to find it.
>
> On Tue, Aug 24, 2010 at 10:53 AM, [email protected] <[email protected]>wrote:
>
>
>
> > That's certainly some workaround. But not exactly I want. I don't want
> > to keep track of what I updated  explicitly.
>
> > On Aug 24, 3:33 pm, Diego Mijelshon <[email protected]> wrote:
> > > You can use an HQL update.
>
> > >     Diego
>
> > > On Mon, Aug 23, 2010 at 03:26, [email protected] <[email protected]>
> > wrote:
> > > > Hello, It maybe a naive question but I am curious if there is anyway
> > > > to turn off row update count.
> > > > My scenarios is as follows:
>
> > > > Consider a persistant entity and two concurrent sessions, where one of
> > > > these sessions will update the entity and
> > > > the other "may" delete the entity. IF deletion occurs before updating
> > > > I am getting stalestateexception while updating. NHibernate rightfully
> > > > warns me the entity does not exist in the DB anymore and it can't
> > > > update it. So far so good.  But I am well aware of this situation and
> > > > I optionally would like tell NH to ignore the update if the entity is
> > > > deleted already.
> > > > What should I do ?
>
> > > > --
> > > > 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]>
> > <nhusers%[email protected]<nhusers%[email protected]>
>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/nhusers?hl=en.
>
> > --
> > 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.

Reply via email to