[rules-users] Call class method from LHS of a rule
HafeezurRehman
hafeezrehman.cprods at gmail.com
Thu Mar 25 09:11:34 EDT 2010
/* pass a hibernate session to the working memory as a global */
session = factory.openSession();
workingMemory.setGlobal("hibernateSession", session);
Login login = new Login();
workingMemory.insert(login);
the isssue was that i was doing it the wrong way that was
Login login = new Login();
workingMemory.insert(login);
/* pass a hibernate session to the working memory as a global */
session = factory.openSession();
workingMemory.setGlobal("hibernateSession", session);
the order was wrong
--
View this message in context: http://n3.nabble.com/Call-class-method-from-LHS-of-a-rule-tp108383p519993.html
Sent from the Drools - User mailing list archive at Nabble.com.
More information about the rules-users
mailing list