I have an enum along the lines of
Bean.x : (new com.xyz.MyClass()).getNames()
Which works fine and getNames() is called when JBoss first starts up and the
first time that a rule using this enum is created.
But, getNames() is never called again. Either when a new rule is created or
if you do the close/reopen the editor thing. Which means that the enum gets
out of date with the DB it is pulling from.
I did find a work-around, if you also edit the .enumeration file, I just add
a blank entry at the bottom of table - then getNames() is called with a new
rule is created of you do the close/reopen the editor thing.
Is there a fix in head for this?
--
View this message in context:
http://drools.46999.n3.nabble.com/6-0-1-F-Enumeration-Reloading-Weirdness...
Sent from the Drools: User forum mailing list archive at
Nabble.com.