Maciej Swiderski [
https://community.jboss.org/people/swiderski.maciej] created the
discussion
"Re: org.hibernate.StaleObjectStateException: Row was updated or deleted by another
transaction (or unsaved-value mapping was incorrect)"
To view the discussion, visit:
https://community.jboss.org/message/810601#810601
--------------------------------------------------------------
the situation you described indicates you have two HTWorkitem handlers active which both
tries to notify the engine that task was completed. So what I could suggest is:
* double check the code you have where you create HTWorkItemHandler and make sure you have
just one for given session
* if you dispose session make sure that your handler is disconnected otherwise you'll
get exceptions as handler will try to notify disposed session
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/810601#810601]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]