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

2010-06-01 Thread tolitius
@xdirewolfx, Well, there is always a choice, any Hollywood movie will tell you that :) It all really comes down to two things: 1. Transaction Management 2. Decoupling your persistence from Drools Flow persistence 1. Transaction Management If you already

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

2010-05-28 Thread Dale Wyttenbach
I am trying to do the same but am currently struggling with a related OC4J issue (configuring OC4J to use Hibernate as JPA provider). If I get past that maybe we can compare notes. On Thu, May 27, 2010 at 12:48 PM, xdirewolfx ken.annihilat...@gmail.comwrote: Anyone managed to get drools flow

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

2010-05-28 Thread KiranP
hi there, we r already using Drools Flow + Spring 3.0 + Hibernate JPA it works fine in our case any helpwill be very glad Drools at beginning has some clutters.but as u come over it.u'll what magnificent things they have in there Cheer's - Keep Working KiranP -- View

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

2010-05-28 Thread xdirewolfx
Thank for the response. Currently my application is already spring hibernate jta with data access through hibernate session/session factory. In order to use drools-persistence, I assume we would need to use jpa entity manager? As far as as possible, we try to not to have 2 data access unless

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

2010-05-27 Thread xdirewolfx
Anyone managed to get drools flow persistence to be configured in a spring hibernate app? -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-Persistence-with-Spring-Hibernate-tp834330p849100.html Sent from the Drools - User mailing list archive at

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-23 Thread xdirewolfx
Thanks for your response. I can do transaction within drools flow. However, I did not find anywhere in document in how to persist the flow and human task node to safe point. There should be some database tables to be created within my current datasource I believe? -- View this message in

[rules-users] Drools Flow Persistence with Spring Hibernate

2010-05-21 Thread xdirewolfx
Hi, I am currently using drools extensively in some of our applications. We are looking at moving away from our current bpm to use drools flow for long running processes (required persistence state of the workflow). Is there anyone out there able to guide me on using sessionFactory for

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 xdirewolfx
Thanks for response. Looked through the config, we are not using entitymanagerfactory unfortunately and we would not be able to change that for now as this is an existing app. Any work around for this? Thanks -- View this message in context:

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 Flow Persistence with Spring Hibernate

2010-05-21 Thread xdirewolfx
We use hibernateSessionFactory/HibernateSession directly session.createCriteria() // session.createQuery() -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-Persistence-with-Spring-Hibernate-tp834330p835879.html Sent from the Drools - User mailing