On 12 July 2011 19:47, rp2 <amanteja(a)gmail.com> wrote:
Thanks.
Basically I am trying to retrieve (and store) events from an external store
like in
http://magazine.redhat.com/2008/07/11/jboss-drools-meets-hibernate/
expect that the backing store in not a relational db but a custom key-value
store.
This example also does not show the facts/events being inserted. Is this
incorrect?
The example does not use events, as in @role(event). You can maintain
a value of type java.util.Date in your hibernated facts, but don't make
them events the way you do.
-W
All it does is
... ...
workingMemory.setGlobal("hibernateSession", session); // sets a hibernate
session
workingMemory.fireAllRules();
--
View this message in context:
http://drools.46999.n3.nabble.com/Temporal-reasoning-with-external-persis...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users