[
https://jira.jboss.org/jira/browse/JBPM-1772?page=com.atlassian.jira.plug...
]
Tom Baeyens commented on JBPM-1772:
-----------------------------------
I'll re-introduce the flush (this time with a ref to JBPM-1085) Thanks, Martin !
From the stack trace this looks like intended behaviour. The test
should actually retry in case of such a SOSE. I'll see if i can easily add that.
Fix JoinDbTest on postgresql
----------------------------
Key: JBPM-1772
URL:
https://jira.jboss.org/jira/browse/JBPM-1772
Project: JBoss jBPM
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Core Engine
Reporter: Thomas Diesler
Assignee: Tom Baeyens
Priority: Critical
Fix For: jBPM 3.3.0 GA
org.hibernate.StaleObjectStateException: Row was updated or deleted by another
transaction (or unsaved-value mapping was incorrect): [org.jbpm.graph.exe.Token#17]
at
org.hibernate.persister.entity.AbstractEntityPersister.forceVersionIncrement(AbstractEntityPersister.java:1239)
at
org.hibernate.event.def.AbstractLockUpgradeEventListener.upgradeLock(AbstractLockUpgradeEventListener.java:82)
at
org.hibernate.event.def.DefaultLockEventListener.onLock(DefaultLockEventListener.java:64)
at org.hibernate.impl.SessionImpl.fireLock(SessionImpl.java:584)
at org.hibernate.impl.SessionImpl.lock(SessionImpl.java:576)
at org.jbpm.graph.node.Join.execute(Join.java:117)
at org.jbpm.graph.def.Node.enter(Node.java:314)
at org.jbpm.graph.def.Transition.take(Transition.java:151)
at org.jbpm.graph.def.Node.leave(Node.java:389)
at org.jbpm.graph.exe.Token.signal(Token.java:192)
at org.jbpm.graph.exe.Token.signal(Token.java:140)
at org.jbpm.jpdl.exe.JoinDbTest.testJoinPersistence(JoinDbTest.java:57)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira