[
https://jira.jboss.org/browse/JBPM-2894?page=com.atlassian.jira.plugin.sy...
]
Huisheng Xu commented on JBPM-2894:
-----------------------------------
There are two CommandService configured in the jbpm.tx.hibernate.xml. acquireDbidBlock
will use name="newTxRequiredCommandService" one.
<command-service name="newTxRequiredCommandService">
<retry-interceptor />
<environment-interceptor policy="requiresNew" />
<standard-transaction-interceptor />
</command-service>
DatabaseDbidGenerator and transition rollback
---------------------------------------------
Key: JBPM-2894
URL:
https://jira.jboss.org/browse/JBPM-2894
Project: jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 4.3
Environment: Websphere 7, oracle 10g
Reporter: Manuele Piastra
If method acquireDbidBlock of class DatabaseDbidGenerator is executed in a rollbacked
transition the db value is not updated. So there is a difference between field nextId of
class DatabaseDbidGenerator and value in database table jbpm4_property. Next restart there
is a primary key violation
--
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