On 12 July 2011 19:47, rp2 <span dir="ltr"><<a href="mailto:amanteja@gmail.com">amanteja@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks.<br>
Basically I am trying to retrieve (and store) events from an external store<br>
like in <a href="http://magazine.redhat.com/2008/07/11/jboss-drools-meets-hibernate/" target="_blank">http://magazine.redhat.com/2008/07/11/jboss-drools-meets-hibernate/</a><br>
expect that the backing store in not a relational db but a custom key-value<br>
store.<br>
<br>
This example also does not show the facts/events being inserted. Is this<br>
incorrect?<br></blockquote><div><br>The example does not use events, as in @role(event). You can maintain<br>a value of type java.util.Date in your hibernated facts, but don't make<br>them events the way you do.<br><br>
-W<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
All it does is<br>
... ...<br>
workingMemory.setGlobal("hibernateSession", session); // sets a hibernate<br>
session<br>
workingMemory.fireAllRules();<br>
<font color="#888888"><br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Temporal-reasoning-with-external-persistence-not-working-tp3158399p3163303.html" target="_blank">http://drools.46999.n3.nabble.com/Temporal-reasoning-with-external-persistence-not-working-tp3158399p3163303.html</a><br>
</font><div><div></div><div class="h5">Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br>