if you use Spring, you can just use &quot;org.springframework.orm.jpa.JpaTransactionManager&quot; with non-XA transactions: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Exception-using-persistence-tp856774p863641.html">http://drools-java-rules-engine.46999.n3.nabble.com/Exception-using-persistence-tp856774p863641.html</a><br>
<br>/Anatoly<br><br><div class="gmail_quote">On Sat, Oct 16, 2010 at 6:28 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="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Yes, we made the transaction manager pluggable, with a default<br>
implementation for JTA and Spring.  You can take a look at the<br>
drools-persistence-jpa module, there is a<br>
org.drools.persistence.session.TransactionManager, that is the interface<br>
you would have to implement, with the<br>
org.drools.persistence.session.JtaTransactionManager as a sample<br>
implementation.<br>
<br>
Kris<br>
<div><div></div><div class="h5"><br>
Quoting Rui Tang &lt;<a href="http://tangrui.cn" target="_blank">tangrui.cn</a>@<a href="http://gmail.com" target="_blank">gmail.com</a>&gt;:<br>
<br>
&gt; Hi list,<br>
&gt;<br>
&gt; According to the documents and some test cases, I found that Drools<br>
&gt; Flow<br>
&gt; persistence examples have to work with JTA to enable transaction<br>
&gt; management.<br>
&gt;<br>
&gt; Is there some way to not use JTA as my transaction manager?<br>
&gt;<br>
&gt; --<br>
</div></div>&gt; å” ç ¿<br>
&gt;<br>
<br>
<br>
<br>
<br>
Disclaimer: <a href="http://www.kuleuven.be/cwis/email_disclaimer.htm" target="_blank">http://www.kuleuven.be/cwis/email_disclaimer.htm</a><br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br>