StaleObjectStateException: Row was updated or deleted by another transaction

3,317 views
Skip to first unread message

harshil

unread,
Sep 16, 2010, 7:34:19 AM9/16/10
to nhusers
hi ,
i got one error while saving an entity,


ERROR NHibernate.Event.Default.AbstractFlushingEventListener - Could
not synchronize database state with session
NHibernate.StaleObjectStateException: Row was updated or deleted by
another transaction (or unsaved-value mapping was incorrect)

please help me on it,

Fabio Maulo

unread,
Sep 16, 2010, 7:17:03 PM9/16/10
to nhu...@googlegroups.com
Tries to make this:
Goes out from your work to take a walk in a park, then comeback and re-reads your e-mail and tries to imagine what can do somebody reading it.
If you can't see anything wrong then tries this other thing:
Call your best tech-friend and without add any word, and far away from your PC, ask him if he can help you.


--
You received this message because you are subscribed to the Google Groups "nhusers" group.
To post to this group, send email to nhu...@googlegroups.com.
To unsubscribe from this group, send email to nhusers+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.




--
Fabio Maulo

harshil hameed

unread,
Sep 17, 2010, 12:41:13 AM9/17/10
to nhu...@googlegroups.com
its related to version issue,
my Version Column is null in that row,
dats why NH can't check version of the row.
after updating Version Column,Its working fine :)
Reply all
Reply to author
Forward
0 new messages