]
Mark Proctor closed JBRULES-232.
--------------------------------
Fix Version/s: (was: 4.0.0.MR3)
Resolution: Rejected
I'm rejecting this, I believe the code currently throws an error for this.
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
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: