droolsjbpm/jbpm — pull request #79 by mswiderski (2012-04-06 13:11:22+00:00)
Title: BZ743417 - use separate JPA EntityManagerFactory for jbpm-bam

Provides configuration options for BAM module in terms of persistence. There are three possible sources of EntityManagerFactory:
- Environment object
- JNDI look up
- build it from persistence unit name

Introduced jbpm.bam.properties file dedicated to configure persistence (and maybe more in the future) of BAM module.

EntityManagerFactory will be shared between logger (JPAWorkingMemoryDbLogger) and reader (JPAProcessInstanceDbLog).