[jboss-user] [JBoss jBPM] - Re: Best Practice to get SessionFactory

boercher do-not-reply at jboss.com
Mon Apr 6 05:23:12 EDT 2009


Looking at the current jBPM3 code 

JbpmContext.getCurrentJbpmContext().getSessionFactory()

seems to be the standard way to access the SessionFactory. In my ActionHandlers I'm rather using the current Session directly via

executionContext.getJbpmContext().getSession()

Volker

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223582#4223582

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223582



More information about the jboss-user mailing list