[jboss-user] [JBoss jBPM] - drools
raj_brahmam
do-not-reply at jboss.com
Thu Aug 21 06:19:33 EDT 2008
I have one question on JBOSS drools. If I want to compare , same class with two different objects, how can I compare those two objects in drl file.
Let say if I added those two objects in Java file like :
Trade t1=new Trade();
t1.setName("test");
Trade t2=new Trade();
t2.setName("varma");
memory.add(t1);
memory.add(t2);
session.execute(memory);
How can I compare those two objects in drl file to check whether name is different or not ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171727#4171727
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171727
More information about the jboss-user
mailing list