Hi all,Is there any limitation about the length of attribute's name when
declare type in drl file?
I encountered a problem these days, I declared a new type in rule file, when
fire rules, it always throw java.lang.ClassCaseException: test.obj cannot be
cast to test.obj. As I inspected, this is caused by the length of an
attribute's name is too long, it's 35 characters, if I remove this
attribute, there's no exception.
Following is snippet of my rule file:
package testdeclare obj@propertyReactivetype : Stringname :
Stringattribute_name_too_long_reach_limitation: Booleanendrule "a"dialect
"mvel"salience 0no-loopwhen$obj:obj(type == "a")thenmodify ($obj)
{name =
"abc"};end
--
View this message in context:
http://drools.46999.n3.nabble.com/Is-there-any-limitation-about-the-lengt...
Sent from the Drools: User forum mailing list archive at
Nabble.com.