let RetryIntercept handle HibernateOptimisticLockingFailureException(from spring)
---------------------------------------------------------------------------------
Key: JBPM-2864
URL:
https://jira.jboss.org/browse/JBPM-2864
Project: jBPM
Issue Type: Patch
Security Level: Public (Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 4.3
Reporter: Huisheng Xu
Assignee: Huisheng Xu
Priority: Minor
Fix For: jBPM 4.4
Spring will wrap StaleObjectException with HibernateOptimisticLockingFailureException. We
could use ex.getCause() to get the cause of exception.
Later we could let people to configure which Exception should be retried.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira