<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    JBPM 4.3 - org.jbpm.api.JbpmException: couldn't acquire block of ids
</h3>
<span style="margin-bottom: 10px;">
    reply from <a href="http://community.jboss.org/people/campa">Stefano Campanini</a> in <i>jBPM</i> - <a href="http://community.jboss.org/message/539938#539938">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p><a class="jive-link-profile-small" href="http://community.jboss.org/people/rebody">Huisheng</a> "And using sequence is the previous way of jBPM4 using.&#160; It changed to use JBPM4_PROPERTY since jBPM-4.2."</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Why jbpm not use hibernate id generators declared in hbm mapping files or using annotations ? My modest suggestion to get jbpm better is to use a hibernate built in portable generator as default (es. no sequence, ..) and permit the user to overwrite it with other hibernate built in generators.</p><p><span>See below here for hibernate supported built in generators ( </span><a class="jive-link-external-small" href="http://docs.jboss.org/hibernate/core/3.3/reference/en/html/mapping.html#mapping-declaration-id" target="_blank">http://docs.jboss.org/hibernate/core/3.3/reference/en/html/mapping.html#mapping-declaration-id</a><span> )</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><a class="jive-link-profile-small" href="http://community.jboss.org/people/rebody">Huisheng</a> "By the way, some days earlier, you said you will use drools flow instead.&#160; I don't know much about it.&#160; Did it powerful?&#160; Did it easy to use?"</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Yes I have found it is more easy to use and setup than jbpm. Also for some aspects more advanced in functionality.</p><p>And as Developer I liked the complete maven management of the project sources only because We use maven in place of ant. Having dev environment working with svn sources, unit tests and so on .. is very simple.</p><p>I found Jbpm dev env not so easy to setup:&#160; I tried to run jbpm sources tests using my new sequenceDatabaseGenerator , but the switch to postgresql does not work out of box ... also some maven dependencies needs to manual managed: I remember gpd and oracle driver (also I want to test against postgresql) ... more or less 2 hours without results .. also reading instructions.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The missing feature that do not fit in our needs of drools flow, was the fact that seems not easy to navigate the process (graph) using api, for example asking the next outgoing transitions...</p><p>We need to present on GUI buttons to the users for go next on one branch or another of the process definitions ... I think this limits born on the fact that drools flow is rule based ... not graph based. Also Human task needs Apache Mina opening another tcp port and so on ...</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>These are some advantages and disadvantages I have found in an evaluation that last 3-4 days on jbpm and drools flow, integrating in our product that is spring based. Sure having much time going deeply these opinions can be changed&#160; ...</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>( Sorry for may bad English !! )</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Bye</p><p>Stefano</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/539938#539938">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>