[rules-users] Support for dynamic / ad-hoc queries in Drools

Wolfgang Laun wolfgang.laun at gmail.com
Wed Jun 27 09:47:17 EDT 2012


On 27/06/2012, jpullmann <jaroslav.pullmann at fit.fraunhofer.de> wrote:
>  Hello Wolfgang,
>
>  the suggested solution is an elegant syntactical shortcut to what I
>  and other Drools users already do. Support for one-shot queries appears
>  to be a meaningful extension to the WorkingMemory API, and the unavoidable
>
>  effort of parsing and temporarily adding the query pattern to the
> production
>  memory will become transparent to the user.

There is still to be decided what to do when compilation fails - throw
an Exception or return null (with a factory method rather than a
constructor).

-W


>
>     Best regards
>       Jaro
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Support-for-dynamic-ad-hoc-queries-in-Drools-tp4018281p4018287.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
>


More information about the rules-users mailing list