[rules-users] Querying ExecutionResults

Evert Penninckx evert.penninckx at gmail.com
Fri Sep 24 04:57:52 EDT 2010


Hi

To retrieve all facts of a given type from the working memory of a stateful
session I use this command:
kstateful.getObjects(new ClassObjectFilter("SomeClass.class"));

Can someone confirm that the only equivalent for a stateless session is
creating a query (a bit more cumbersome)?
executionResults.getValue( "QueryName" );



Tnx

Evert
-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Querying-ExecutionResults-tp1572708p1572708.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list