[jboss-user] [jBPM] - Re: Unable to dispose ksession

Arun Selva do-not-reply at jboss.com
Tue Jun 19 11:27:25 EDT 2012


Arun Selva [https://community.jboss.org/people/arselv] created the discussion

"Re: Unable to dispose ksession"

To view the discussion, visit: https://community.jboss.org/message/742777#742777

--------------------------------------------------------------
Yeah thats right.I got your point.
But in my case the starting of a process and completion of it happens parallely.
And when i do so as u said. i'm getting this hibernate exception due to optimistic lock.

javax.persistence.OptimisticLockException: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.drools.persistence.info.SessionInfo#1]
          at org.hibernate.ejb.AbstractEntityManagerImpl.wrapStaleStateException(AbstractEntityManagerImpl.java:630)
          at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:588)

and im looking for a way to clear this exception.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/742777#742777]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120619/619505af/attachment.html 


More information about the jboss-user mailing list