Re: [rules-users] [rules-dev] Drools plugin for Grails

2011-03-30 Thread Pablo Nussembaum
Ooopppss, I forgot to paste the links! (thanks lucaz!) http://grails.org/plugin/drools-gorm https://github.com/bauna/drools-gorm -- Bauna On 03/30/2011 05:55 PM, Pablo Nussembaum wrote: Hey All, I just released a new version of the drools-gorm plugin based on the lastest stable version

Re: [rules-users] Persistence.createEntityManagerFactory NullPointerException

2010-09-03 Thread Pablo Nussembaum
You need to configure bitronix[0] to provide JTA. Or use drools-spring that allows you to use drools-persisntece-jpa without JTA. [0] http://docs.codehaus.org/display/BTM/Tomcat13 On 09/03/2010 08:53 AM, liang wrote: i found that tomcat 6 have not JTA,which server is able to persistence? 在

Re: [rules-users] Drools Flow Persistence with Spring Hibernate

2010-05-23 Thread Pablo Nussembaum
If you don't want to change your app to use JPA. You still can switch to start using JTA as a transaction manager. Doing that would allow you use the same transaction in your code and in drools flow. I've never done that by myself but I'm 97% sure it is doable. On Saturday 22,May,2010 12:45 AM,

Re: [rules-users] Drools Flow Persistence with Spring Hibernate

2010-05-21 Thread Pablo Nussembaum
Hi, Working on adding support spring to flow, here you have an example app: http://www.plugtree.com/downloads/DroolsFlowSpring.tgz -- Baunax On Friday 21,May,2010 11:00 AM, xdirewolfx wrote: Hi, I am currently using drools extensively in some of our applications. We are looking at moving

Re: [rules-users] Drools Flow Persistence with Spring Hibernate

2010-05-21 Thread Pablo Nussembaum
The current implementation is based on JPA, so it's mandatory to use an EntityManagerFactory. Could you give us more detail on how are accessing the DB and which persistence mechanism are you using? Thanks, On Friday 21,May,2010 12:49 PM, xdirewolfx wrote: Thanks for response. Looked through

Re: [rules-users] Drools 5.1 Persistence without JTA

2010-05-19 Thread Pablo Nussembaum
Hi Kiram, We are currently working, through the spring integration, on adding support for using processes without JTA. The only pending feature is the automatic rollback handling that JTA provides, that means that you *MUST* reload the session instance after a rollback. Here you have an example