Jonathan,
The decision table mandates atleast one condition. I have faced this problem
before. Assuming you always have some +ve value for cheese.price, do you want
to try following?
RuleSet
Cheese rules
Import
com.xxx.entity.Cheese
Variables
Sequential
TRUE
RuleTable
Take out the entry of this table for hbm, instantiate this object manually, use
the setters and run the rules. My guess is, it should run perfect.
Send the hbm to the group, that would help. Configuration of this id in hbm is
the source of problem.> Date: Fri, 22 Feb 2008 10:39:17 +0100> From:
I don't see your test class as a peristent class. Unless you add hibernate
annotations it won't become as such.
For the simple class you mentioned, if you are instantiating it and setting
it's id, then you should see the correct result.
Once you implement hibernate, retrieving this object from h
Hi ALL, This is my first project on drools. I am using JBOSS rules 4.0.4 and
wouldlike your help. I want to create a spreadsheet that will compile into drl
file. I can notfigure out how I could create an OR condition in the
spreadsheet. The drlcode I am looking to get finally will look like