[rules-users] Drools Pattern Matching

2008-04-02 Thread hanumesh.m
Hi, I am writing a rule which checks for the presence of substring in a string. Hard coding rule works fine but if I am using variables which may have dynamic values giving problems. How to write code equivalent of hardcoding version. HardCode verson : --- rule Process 834

[rules-users] Firing Rules from DB (Dynamic Rules)

2008-04-02 Thread hanumesh.m
Hi, As rules may keep on changing, I am using database to store the datails of a rule. Say in table Transaction (ruleName, fileMask, fromQ, ToQ,transType). An admin application may keep on adding/editing these rules as and when required. I have a mule application, where in a mule Component

[rules-users] Drools Eclipse Plugin Problem

2008-04-02 Thread Seema Richard
Hi all, I have added the Drools 4.0.6 plugin in my Eclipse v 3.2.2. I have the plugin jar containing all the required classes in the org.drools.eclipse_4.0.6.jar which is added to the plugins folder of Eclipse. But I'm getting this error when I attempt to open a .drl file.

[rules-users] Problem with mvel trying to coerce a String to a number

2008-04-02 Thread Brett M. Bergquist
I have a fact that a Map of Strings: private MapString,String property = new HashMapString,String(); /** * Gets the property map * @return The property map */ public MapString, String getProperty() { return property; } /** * Sets the property map *

[rules-users] RuleAgent is not retrieving updated rule?

2008-04-02 Thread Andres Bonifacio
Here's how I did it: 1. I successfully deployed jbrms and insurance webapp (both using Drools v 4.0.6) successfully to JBoss 4.0.5. 2. From the jbrms webapp, I modified the Night Vehicle Place technical rule, just change the sysout statement. 3. Rebuild the binary package. Recreate the

Re: [rules-users] Drools Eclipse Plugin Problem

2008-04-02 Thread Mark Proctor
There was poor QA on the last two releases by the release engineer. I will personally over see the next release and make sure this is all fixed. Sorry Mark Seema Richard wrote: Hi all, I have added the Drools 4.0.6 plugin in my Eclipse v 3.2.2. I have the plugin jar containing all the

[rules-users] Problems using shadow proxies and Hibernate lazy initialization

2008-04-02 Thread Keith Bennett
I am currently using Drools to validate an extensive object graph. When I validate a transient object graph (i.e., not persisted via Hibernate) inside of a JUnit test method, validation occurs successfully. However, when I retrieve the same object graph from Hibernate and subsequently validate

Re: [rules-users] Problems using shadow proxies and Hibernate lazy initialization

2008-04-02 Thread Edson Tirelli
It seems the docs need to be updated. Would you plz open a JIRA to fix the place you are seeing this info? For more current info, take a look at this blog post, specially the end on how to disable shadow facts: http://blog.athico.com/2008/02/shadow-facts-what-you-always-wanted-to.html