Thank you Kris,<br>I&#39;ve submitted the patch:<br><a href="https://jira.jboss.org/jira/browse/JBRULES-1887">https://jira.jboss.org/jira/browse/JBRULES-1887</a><br>No need to hurry with this.<br>I haven&#39;t tested it. For some reason I can&#39;t run my application with locally build drools jars.<br>
Keep up the good work!<br>Michal<br><br><br><br><div class="gmail_quote">On Fri, Dec 5, 2008 at 3:37 PM, Kris Verlaenen <span dir="ltr">&lt;<a href="mailto:kris.verlaenen@cs.kuleuven.be">kris.verlaenen@cs.kuleuven.be</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">





<div bgcolor="#ffffff">
<div><font size="2" face="Arial">Michal,</font></div>
<div><font size="2" face="Arial"></font>&nbsp;</div>
<div><font size="2" face="Arial">True, thanks for the help.&nbsp; I suggest you just 
try to change&nbsp;the code locally so that it fits&nbsp;your requirements, and 
bundle your comments (and a patch would be nice :)) in a JIRA.&nbsp; I&#39;ll take a 
look and will try to incorporate those changes in trunk asap !</font></div>
<div><font size="2" face="Arial"></font>&nbsp;</div>
<div><font size="2" face="Arial">Kris</font></div>
<div><font size="2" face="Arial"></font>&nbsp;</div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"><div><div></div><div class="Wj3C7c">
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
  <div style="background: rgb(228, 228, 228) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b> 
  <a title="michalbali@gmail.com" href="mailto:michalbali@gmail.com" target="_blank">Michal 
  Bali</a> </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="rules-dev@lists.jboss.org" href="mailto:rules-dev@lists.jboss.org" target="_blank">Rules Dev List</a> </div>

  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Wednesday, December 03, 2008 10:48 
  PM</div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b> [rules-dev] 
  drools-process-enterprise - JPAPersisterManager shouldtake 
  EntityManagerFactory as an input parameter</div>
  <div><br></div>Hi Kris,<br><br>The JPAPersisterManager is currently creating a 
  new EntityManagerFactory.<br><br>It should probably also take an 
  EntityManagerFactory as an input. This is necessary if you already have an 
  EntityManagerFactory in your application you want to reuse it. Two 
  EntityManagerFactories mean two transactional resources that have to be 
  managed by a distributed transaction and that is unnecessary. <br><br>If you 
  want I should be able to provide the patch. It should be a simple constructor 
  change :).<br><br>I hope I am not starting to bother you with my issues, I 
  might have a few more :)<br><br>Thank you.<br>Best Regards,<br>Michal<br>
  </div></div><p>
  </p><hr>

  <p></p>_______________________________________________<br>rules-dev mailing 
  list<br><a href="mailto:rules-dev@lists.jboss.org" target="_blank">rules-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
</blockquote></div>
<br>_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
<br></blockquote></div><br>