0 Replies Latest reply on Jan 28, 2009 9:22 PM by annechou

    Seam and Drools - inserting facts into working memory

    annechou

      I am using s:hasPermission for authorization and need facts inserted into working memory.  Is there an efficient way to do something like a bulk insert of facts into working memory?  Currently, I insert facts in my code:



      factHandle = RuleBasedPermissionResolver.instance().getSecurityContext().insert(logEntry);




      and it would be nice if this didn't have to be executed for every fact.


      Thanks for any tips.