You can write something like<br> A: Applicant(,,,, price < ( A.getData() ) )<br>where 'A' refers to the Applicant object bound to this pattern.<br><br>But getData() returns a String, it should return an int so that you can compare it to the price.<br>
<br>I cannot really advise you on the overall structure of your project, but consider what others have written. It might be better to include the Item objects as facts, etc.<br><br>-W<br><br><br><br><div class="gmail_quote">
On 22 December 2010 14:13, wasim.khan318 <span dir="ltr"><<a href="mailto:khanwasim07@yahoo.co.in">khanwasim07@yahoo.co.in</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Sir i am very new to java and drools please can you correct my example, i am<br>
not getting about<br>
<any java expression><br>
<br>
please it will help full for me a<br>
<font color="#888888">--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/DataBase-Configuration-for-Drools-tp2130161p2131211.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/DataBase-Configuration-for-Drools-tp2130161p2131211.html</a><br>
</font><div><div></div><div class="h5">Sent from the Drools - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br>