[jboss-jira] [JBoss JIRA] Updated: (JBPM-982) oracle : one single sequence for all jbpm tables
Adrian Dimulescu (JIRA)
jira-events at lists.jboss.org
Sat Jun 16 09:23:11 EDT 2007
[ http://jira.jboss.com/jira/browse/JBPM-982?page=all ]
Adrian Dimulescu updated JBPM-982:
----------------------------------
Attachment: jbpm-different-sequences-names.patch.gz
Attached patch.
Essentially, the patch adds the pattern described above to all .hbm.xml files in the jbpm-jpdl component. Notice that there are lots of .hbm.xml files in the BPEL package too that I haven't touched since i personally don't use BPEL at all. I can modify those too if somebody confirms to me that it is a good idea.
> 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
>
> Attachments: jbpm-different-sequences-names.patch.gz
>
>
> 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