[rules-users] LHS functions not in eval()...

wasabifan bryan.rickman at kewill.com
Wed Sep 5 10:30:41 EDT 2007


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 this,
as our POJOs are currently auto-generated...and this will add a manual
process to maintaining our POJOs).

Thanks for the feedback though!

Bryan


Edson Tirelli-3 wrote:
> 
>    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.
> 

-- 
View this message in context: http://www.nabble.com/LHS-functions-not-in-eval%28%29...-tf4362273.html#a12499304
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list