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

Toriton do-not-reply at jboss.com
Thu Apr 16 04:03:52 EDT 2009


Sorry bad cut :)

this is how the SessionFactory is returned :
anonymous wrote : 
  | JtaDbPersistenceServiceFactory jtaDBFactory = (JtaDbPersistenceServiceFactory)JbpmConfiguration.getInstance().getServiceFactory("persistence");
  | 			return (SessionFactory) jtaDBFactory.getSessionFactory();
  | 

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

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



More information about the jboss-user mailing list