[jboss-jira] [JBoss JIRA] Commented: (JBRULES-232) if variable is bound to multiple columns, that should mean an implicit join on identity

Michael Neale (JIRA) jira-events at jboss.com
Fri Nov 24 14:37:41 EST 2006


    [ http://jira.jboss.com/jira/browse/JBRULES-232?page=comments#action_12347664 ] 
            
Michael Neale commented on JBRULES-232:
---------------------------------------

best not to count on that always working, as it maybe/will be deprecated.
the implicit joining is a legacy from Jess, where it makes sense in the lisp style syntax.

The other way it can work is by not removing same id combinations, in which case all combos are tried (even joining with itself). That would be like Jess and JRules.

> if variable is bound to multiple columns, that should mean an implicit join on identity
> ---------------------------------------------------------------------------------------
>
>                 Key: JBRULES-232
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-232
>             Project: JBoss Rules
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Drl Parser/Builder
>    Affects Versions: 3.0-rc2
>            Reporter: Michael Neale
>         Assigned To: Mark Proctor
>             Fix For: 3.1-m3
>
>
> This is based on some discussions on the mailling list.
> So:
> m : Message(foo == "bar")
> m : Message(foo != "42")
> should be the same as 
> m : Message(foo == "bar", foo != 42)
> this works as the same variable is "bound" each time. At the moment it rebinds.
> The "new" behaviour should be consistent with Jess, and it does indeed make things simpler from a users point of view, and DSLs much more powerful.
> Obviously if nothing it bound, then it is just as normal.
> It *may* be possible to do this entirely in the parser, not sure at this stage... further investigation required.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list