if you use Spring, you can just use "org.springframework.orm.jpa.JpaTransactionManager" with non-XA transactions: http://drools-java-rules-engine.46999.n3.nabble.com/Exception-using-persistence-tp856774p863641.html
/Anatoly
Yes, we made the transaction manager pluggable, with a default
implementation for JTA and Spring. You can take a look at the
drools-persistence-jpa module, there is a
org.drools.persistence.session.TransactionManager, that is the interface
you would have to implement, with the
org.drools.persistence.session.JtaTransactionManager as a sample
implementation.
Kris
> å” ç ¿
Quoting Rui Tang <tangrui.cn@gmail.com>:
> Hi list,
>
> According to the documents and some test cases, I found that Drools
> Flow
> persistence examples have to work with JTA to enable transaction
> management.
>
> Is there some way to not use JTA as my transaction manager?
>
> --
>
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users