[rules-users] Temporal reasoning with external persistence not working

Wolfgang Laun wolfgang.laun at gmail.com
Tue Jul 12 14:07:12 EDT 2011


On 12 July 2011 19:47, rp2 <amanteja at 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-persistence-not-working-tp3158399p3163303.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110712/d8a94ede/attachment.html 


More information about the rules-users mailing list