<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi Ove, <br>
      <br>
      While I would really like to be able to say "we'll do that!" with
      regards to JPA2 compliant artifacts, the reality is that I don't
      think this will happen any time soon -- my apologies for this. <br>
      <br>
      This is mostly due to the complex release cycle/procedure that
      jBPM shares with Drools -- and the amount of work to be done in
      general. <br>
      <br>
      That's not to say it will <i>never</i> happen: what I might try
      to do with the next major release, is release jpa2 artifacts
      myself -- if the rest of the team doesn't have a problem with
      that. <br>
      <br>
      <br>
      @Kris: jpa2 compliant artifacts with the next release? <br>
      <br>
      This would mean taking the tag used for the release (5.4.0.Final?)
      and then doing a release/deploy using the hibernate-4 profile
      (hibernate 4 dependencies, JPA 2 xml configuration files.. ). Of
      course, this would mean that all tests would have to succeed on
      that profile first. <br>
      <br>
      In short, Ove, I'll definitely keep it in mind, but I can't
      promise anything. :) <br>
      <br>
      (Sorry for the late reply, btw! )<br>
      <br>
      Marco<br>
      <br>
      <br>
      04-07-12 17:29, Ove Ranheim:<br>
    </div>
    <blockquote
      cite="mid:9514FC41-DABE-43CD-AD86-8F633D420385@gmail.com"
      type="cite">
      <pre wrap="">Hi Marco,

Sorry for my late reply, but today I had time to verify the hibernate-4 support in Drools 5.4 and jBPM 5.3. It works just fine! I don't use the human task, so I haven't checked that out yet.

In fact I only had to add the 'entity'-descriptor to my JBPMorm.xml in my app. and it successfully deployed.

I'm glad my initial pull request was of help after all.

Thanks a lot for doing this!

Btw, it would be nice if jpa2 compliant artifacts where released in nexus on regularly basis.

Cheers,
Ove

On Jun 28, 2012, at 9:56 AM, Marco Rietveld wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">Hi Ove!

I did some work on this early this year -- thanks very much for your pull request, it made my work a lot easier.

We've done the following in the past year:

- changed jbpm-persistence-jpa so that the hibernate 3.3 dependency is no longer hard-coded into the code, so to speak
- I know that Mauricio corrected some queries in human-task that weren't JPA 2 compliant.
- added a "hibernate-4" maven profile that you can compile using hibernate 4/JPA 2.

I might have done one or two other things for this, but I can't remember them any more  -- which means they also weren't of any consequence.

Regardless, see <a class="moz-txt-link-freetext" href="http://mriet.wordpress.com/2012/04/03/jpa-2-with-drools-and-jbpm/">http://mriet.wordpress.com/2012/04/03/jpa-2-with-drools-and-jbpm/</a>
Ignore the second part (&uml;Developer bits and ranting"), I just reread it and had trouble following it myself.. :/

When I initially did all of this work, there were 2 or 3 problems in various modules -- code that worked under hib 3.3/jpa 1 but not hib 4/jpa 2. Unfortunately, while one or two might have been fixed (human-task queries), I think that there are probably one or two still left -- these were problems that I was at a loss to explain/fix at the time.


Thanks,
Marco

22-06-12 19:27, Ove Ranheim:
</pre>
        <blockquote type="cite">
          <pre wrap="">Hi guys,

Earlier this year I provided a patch for Drools and jBPM to support Hibernate 4 and JPA2. My git commit was rejected due to committed to EAP5. Reasonable enough.

Now that EAP6 is key to JBoss. What plans do you have in Drools and jBPM to support Hibernate 4 and JPA2?

I'm still running on my patched version of Drools and jBPM in such respect and look forward to be able to comply with future stack releases.

Cheers,
Ove
<a class="moz-txt-link-abbreviated" href="http://www.musific.com">www.musific.com</a>


_______________________________________________
jbpm-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jbpm-users@lists.jboss.org">jbpm-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jbpm-users">https://lists.jboss.org/mailman/listinfo/jbpm-users</a>
</pre>
        </blockquote>
        <pre wrap="">

-- 
jBPM/Drools developer
Utrecht, the Netherlands

</pre>
      </blockquote>
      <pre wrap="">
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
jBPM/Drools developer
Utrecht, the Netherlands</pre>
  </body>
</html>