[jboss-jira] [JBoss JIRA] Created: (JBPM-982) oracle : one single sequence for all jbpm tables
Adrian Dimulescu (JIRA)
jira-events at lists.jboss.org
Mon Jun 11 04:40:11 EDT 2007
oracle : one single sequence for all jbpm tables
------------------------------------------------
Key: JBPM-982
URL: http://jira.jboss.com/jira/browse/JBPM-982
Project: JBoss jBPM
Issue Type: Bug
Components: Core Engine
Affects Versions: jBPM jPDL 3.2
Environment: jBPM persisted in Oracle database
Reporter: Adrian Dimulescu
Assigned To: Tom Baeyens
Fix For: jBPM jPDL 3.2.1
In order to generate table ids on Oracle, the hibernate-generated DDL specifies one single sequence :
create sequence hibernate_sequence;
That means that successive values for, say, deployed processes JBPM_TASK can be as far away from each other as 1 from 15000 (given that the same sequence generator is used for the lines in the JBPM_LOG table too).
The IDs do have business meaning, at least as far as the JBPM console is concerned : the ID's are shown there in order to identify processes, tasks etc. That may be confusing for users as they may wonder whatever happened to the tasks between 19 (last he solved) and 57 (the next one).
Ronald van Kuijk says: jbpm 3.2.1 (don't know about 3.2) has a real business key. That could/should be used in the next console.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list