[rules-users] Turning off strict mode

Alexander sydorenkoalex at ukr.net
Mon Oct 31 11:26:05 EDT 2011


Hello.

Is it possible to turn off strict mode in Drools 5.2 or 5.3 like in 5.1? How
can i do it?

We use Drools 5.1 and we use lots of maps so we turned off strict mode. I
tried to switch to Drools 5.2 or 5.3 but setting
System.setProperty("drools.dialect.mvel.strict", "false") doesn't work with
those versions. Our domain model is basicaly a hierarchy of Maps without
generics so using strict mode will force us to write alot of casts. This is
not acceptable cause we want our non technical guys to write some rules. One
of our goals was to make it possible to update our application without
recompiling and redeploying any java code only rules and flows, thats why we
have such "domain model".

--
View this message in context: http://drools.46999.n3.nabble.com/Turning-off-strict-mode-tp3468094p3468094.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list