Hi,
My application require to implement business rules with SQL query. How
can i implement business rule wjhich has SQL query?
Is their any option to integrate with hibernate?
Regards
Marimuthu
The information contained in this electronic message and any attachments
to this message
marimuthu,
Drools allows to access Hibernate Named Queries with from
look at the documentation ( 6.3.3 globals and 6.5.2.8 From)
perhaps this gives you some hints
ekke
[EMAIL PROTECTED] schrieb:
Hi,
My application require to implement business rules with SQL query.
How can i implement
Hi all,
can some one help me? I don't understand why this drl
package org.drools.examples.decisiontable;
#generated from Decision Table
import com.RuleEngine.ControlloreNodo.*;
import com.RuleEngine.ControlloreNodo.OggettiControllo.Azione;
import
Using the BRMS Business Rule Asset screen, I've created a new rule:
rule Premium Rule
dialect mvel
when
Policy( premium 50.00 = 500.00 )
then
Policy fact0 = new Policy();
fact0.setStatus( 13 );
insertLogical( fact0 );
end
When I try to validate or
Hi All
Adance thanks,Can some please help me i'm trying to
load drl files when i start my program or if any
change occured in drl file need to load drl files into
rulebase.
private RuleBase loadRules() throws Exception {
Reader source = null;
PackageBuilder
1) I do not think you can use functions on the LHS (the then part).
2) Even if it were allowed, I don't see a return type for the controllo(String
a).
Maybe if you explained what the rule was supposed to be doing we could be more
help.
___
Hi all,
how can I assert an object to the rules engine and be sure that for each
rule fired it use s a new istance of my object??
Thanks
Raffo
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
ok thanks ... i solved my problem using
eval(statoNodo.variabiliInOR($param));
the function variabiliInOR returns a boolean variable
Regards
Raffo
2007/9/21, Scott Reed [EMAIL PROTECTED]:
Ok, my apologies for not reading carefully. Now I see you are working from
a decision table.
My advice
No,
the problem is that if I assert an object ArrayList lista and in the
Condition i add a string using $param
at the end of iteration I have an array with every params in the column but
I want only the param in the row of my action
Thanks
Raffo
2007/9/21, Scott Reed [EMAIL PROTECTED]:
How can I declare a variable not global but local to every rules
Thanks
Raffo
-- Forwarded message --
From: Raffaele Viola [EMAIL PROTECTED]
Date: 21-set-2007 19.51
Subject: Re: [rules-users] assertion of object
To: Rules Users List rules-users@lists.jboss.org
No,
the problem
Maybe each row needs it's own list? I suppose that may require a separate RHS
column for each row.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Raffaele,
perhaps you can describe your usecase for these rules ?
ekke
Raffaele Viola wrote:
How can I declare a variable not global but local to every rules
Thanks
Raffo
-- Forwarded message --
From: Raffaele Viola [EMAIL PROTECTED]
Date: 21-set-2007 19.51
Subject:
when a condition match call statoNodo.variabiliInOR() that add in to the
list the first arg
the action function add the list in the azioe with the method
azione.setAzione(pio,lista);
My list result is :
Pisa
Cagliari
Pisa
Cagliari
package org.drools.examples.decisiontable;
#generated from
I got the BRMS working on Tomcat 6.0.13 but I still can't get Drools
compiler to work under Tomcat 6.0.13/Axis2 1.3. Some sort of Classloader
issue under Axis2 1.3.
Drools BRMS on Tomcat 6
1. Copy the following jars from the JBoss Web server lib directory into
the Tomcat lib:
14 matches
Mail list logo