This will never work except in a very much restricted way, being open
to all kinds of errors.
Building a query requires a KnowledgeBuilder, which has a considerable
number of options that can be set, e.g., for DRL language extensions.
Users, however, will expect to have the same situation for the "ad-hoc
query" as for all rules and queries built for the KnowledgBase from
which the called Session has been spawned. Also, things declared in
the original DRL are not available unless you have the original
builder.
-W
On 28/06/2012, jpullmann <jaroslav.pullmann(a)fit.fraunhofer.de> wrote:
... many thanks for your contributions! I have created a feature
request:
https://issues.jboss.org/browse/JBRULES-3561
Best regards
Jaro
--
View this message in context:
http://drools.46999.n3.nabble.com/Support-for-dynamic-ad-hoc-queries-in-D...
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