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&...]