RE: [rules-users] Use of a DAO in LHS

2008-08-11 Thread Anstis, Michael (M.)
-BAPTISTE Sent: 11 August 2008 08:06 To: Rules Users List Subject: RE: [rules-users] Use of a DAO in LHS On the contrary of what you said I read the documentation. And there is this sentence : "The next example shows how we can reason ove

RE: [rules-users] Use of a DAO in LHS

2008-08-11 Thread BINET JEAN-BAPTISTE
"from" keyword ??? BR Jean-Baptiste De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Anstis, Michael (M.) Envoyé : vendredi 8 août 2008 17:36 À : Rules Users List Objet : RE: [rules-users] Use of a DAO in LHS I suspect you may not have

RE: [rules-users] Use of a DAO in LHS

2008-08-08 Thread Anstis, Michael (M.)
.jboss.org Subject: [rules-users] Use of a DAO in LHS Hello, I have a DRL file in which I have a global variable representing a DAO. So, I succeed in writting a rule which uses this DAO to run a SQL query on the database from the RHS part.

[rules-users] Use of a DAO in LHS

2008-08-08 Thread BINET JEAN-BAPTISTE
Hello, I have a DRL file in which I have a global variable representing a DAO. So, I succeed in writting a rule which uses this DAO to run a SQL query on the database from the RHS part. But now, I would like to use my DAO in the LHS, I mean I want to fire my rule only if a condition is ok on the r