[
https://jira.jboss.org/jira/browse/JBPM-2403?page=com.atlassian.jira.plug...
]
Jay Key commented on JBPM-2403:
-------------------------------
I'm seeing the same behaviour in a standalone test case. When I use the built-in
hsqldb database, it works fine, but when I switch the test case to run agains MS SQL 2005,
I get the ConstraintViolationException when transitioning to the fork.
Fork Activity FIX. PVM trunk.
------------------------------
Key: JBPM-2403
URL:
https://jira.jboss.org/jira/browse/JBPM-2403
Project: jBPM
Issue Type: Patch
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 4.x
Environment: Windows, JBoss 5.1.0.GA
Reporter: Mark Kedzierski
Attachments: DefaultIdGenerator.java, ForkFix.patch
Time Spent: 30 minutes
Remaining Estimate: 0 minutes
Fork activity is broken in the jbpm4 pvm module under the svn trunk. This is caused by a
recent commit to org.jbpm.pvm.internal.model.DefaultIdGenerator. My patch is included.
The hibernate save happens before the execution.id is set, resulting in a
UniqueConstraintException on the commit.
--
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