you should be able to use bound variables inside an exist - but in that case a single "not" should be fine.
You just can use other CEs inside an exist/not (or/and and nesting etc).

On 10/25/06, dorgon <[EMAIL PROTECTED]> wrote:
Hi,

the docs say: the not yet implemented "Existential quantifiers [...] is
supported with 'not' and 'exists' conditional elements."

Hence, I tried to formulate a rule like that:

when
        $r : Relation()
        $a : Attribute( relation == $r )
        not ( exists ( InclusionDependency ( r1 == $r, a1 != $a ) ) )
then ...

this is equiv to "forall ( InclusionDependency ( r1 == $r, a1 == $a ) )"

However, Drools doesn't allow to use BOUND VAR CONSTRAINTS together with
EXISTS, right? Can anybody help me out?

Thank you very much,
Andy


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to