I did try calling it directly. I forget the exact error, but I would get an
error while asserting (inserting) the data (I believe it was a class cast
exception). I think we will end up adding custom accessor methods to our
POJOs that return the properly formatted data (we were hoping to avoid th
Yes, the only way to call functions is inside eval or RHS. Although,
drools executes some time coercion. Did you tried a direct comparison? I'm
not positive it will work, but you may try.
2007/8/31, wasabifan <[EMAIL PROTECTED]>:
>
>
> I am trying to write a function that takes a numeric value
I am trying to write a function that takes a numeric value and returns a
string. Basically, I have a numeric number I need to match to a string
number (so I need to convert one to the other type). I wrote a function to
do this, but it only seems to work in the RHS or inside an eval().
Is there