I have done something like below to remove the persisted session :
SessionInfo si = em.find(SessionInfo.class, sessionId);
em.remove(si);
call the above lines in a transactional context. its done.
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/How-to-remove-a-persisted-session-from-the-database-tp1473926p1481588.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users