[rules-users] empty cell in excel makes the LHS missing in the rule

2012-10-08 Thread himansu.nayak
Hi, i am using drools 5.4.0 and currently facing a typical problem. when ever any cell for LHS in the spreadsheet is blank. when the rules is compiled using the spreadsheet, the LHS for the empty cell get completely missed. drools don't even consider it as a empty string. The only workaround i

Re: [rules-users] empty cell in excel makes the LHS missing in the rule

2012-10-08 Thread Michael Anstis
Hi, This is by design, however not perhaps ideal: https://bugzilla.redhat.com/show_bug.cgi?id=853466 With kind regards, Mike On 8 October 2012 08:41, himansu.nayak himansu...@gmail.com wrote: Hi, i am using drools 5.4.0 and currently facing a typical problem. when ever any cell for LHS in

Re: [rules-users] rule infinitely loops, appears to be depending on naming on variable

2012-10-08 Thread Mario Fusco
In my opinion to have a Java Bean (or a DRL type declaration that is exactly the same for what regards this issue) with more than 20 fields is a code smell and however something very hard to maintain. I must admit that I've been tempted to use an int as bitmask when I developed that feature, but

[rules-users] Hibernate query and .RDL file

2012-10-08 Thread Joaquin
Hi, I'm a new member of this forum, and a new user of Drools.I need to apply a rule to the result of a sql query, my persistence layer is managed by Hibernate.I read this article http://www.kijanowski.eu/index.php?site=articlesarticle=drools_hibernatelang=en I read this article. You took a lot

Re: [rules-users] rule infinitely loops, appears to be depending on naming on variable

2012-10-08 Thread Mark Proctor
Btw JVM JIT won't unroll the loop. It can only do this when the same instance is used repeatedly in the same method. If the instance used in the method changes on each invocation, as ours does, it's not possible for JIT to unroll the loop. Mark On 8 Oct 2012, at 15:21, Mario Fusco

Re: [rules-users] All the values from one list must be present in other

2012-10-08 Thread Suvek
I have drilled into similar problem but its bit different... I have a CompanyTaxPayer CompanyTaxPayer has a CountryDetails Mapstring, CountryDetail CountryDetail has Branches MapString, Branch Branch has Employee MapEmployeeNo, EmployeeDetails if the EmployeeType is Direct employee then company

[rules-users] com.google.protobuf.MessageOrBuilder

2012-10-08 Thread gboro54
I am trying to deploy an application onto JBoss 7.1 running drools 5.4 and I am getting the following error. Any thoughts? java.lang.ClassNotFoundException: com.google.protobuf.MessageOrBuilder from [Module deployment.fbms.ear.fbms-service.jar:main from Service Module Loader] at

Re: [rules-users] rule infinitely loops, appears to be depending on naming on variable

2012-10-08 Thread Davide Sottara
The only danger is with generated code, where you don't have full control over the final number of attributes. I would assume that, in those cases, one should avoid @propertyReactive altogether if there is a danger of exceeding the threshold? A warning would be ignored in an automatic

Re: [rules-users] Local Variable

2012-10-08 Thread joy
Hi If am declaring a map as global variable. global java.util.Map map In the then part of rule 1 am putting a key n value into map Is it possible to get the value using the key from the then part of rule 2? Do i want to update,insert like any thing on global variable? or How is it possible