Re: [rules-users] Drools Flow: Validation Chain Approach

2010-06-02 Thread xdirewolfx

In my current application, we throw a runtime exception on validation to
terminate the flow and dispose session. Is there any issue with this method?
-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-Validation-Chain-Approach-tp861911p864377.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


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 there is no
choice.
-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-Persistence-with-Spring-Hibernate-tp834330p853796.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


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 Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


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 context: 
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-Persistence-with-Spring-Hibernate-tp834330p838785.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[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 persistence of
drools flow task.
-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-Persistence-with-Spring-Hibernate-tp834330p834330.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


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: 
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-Persistence-with-Spring-Hibernate-tp834330p834698.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


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 list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users