[jboss-user] [jBPM] - Re: Problem with Spring and Persistence
Gareth Edwards
do-not-reply at jboss.com
Wed Jan 23 04:12:47 EST 2013
Gareth Edwards [https://community.jboss.org/people/garethed] created the discussion
"Re: Problem with Spring and Persistence"
To view the discussion, visit: https://community.jboss.org/message/793711#793711
--------------------------------------------------------------
I'm just doing this instead now:
if (emf == null){
emf = Persistence.createEntityManagerFactory( "org.jbpm.persistence.jpa" );
Environment env = KnowledgeBaseFactory.newEnvironment();
env.set( EnvironmentName.ENTITY_MANAGER_FACTORY, emf );
}
return emf;
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/793711#793711]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130123/9b40b520/attachment.html
More information about the jboss-user
mailing list