JBoss Community

JBPM5.3 installer persitence.xml transaction manager

created by Sam Mano in jBPM - View the full discussion

Hi,

 

There are lots of persistence.xml in jbpm-installer5.3 folder.

I have two questins,

1. Why do we need so many persistence.xml?

2. In lib folder, persistence .xml found in two placess (jbpm-5.3.0.Final-human-task-war and jbpm-human-task-war-5.3.0.Final ) in these files using  JBossTransactionManagerLookup.

 

<property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup" />

 

but in db folder, one persistence.xml found this using JBPMTransactionManager.

     <!-- for AS7 -->

      <property name="hibernate.transaction.manager_lookup_class" value="org.jbpm.integration.console.JBPMTransactionManager" />

 

question is, what is the difference between these transaction manager, and these two transaction managers work together.

 

some tips will be appriciated....

 

thanks,

Reply to this message by going to Community

Start a new discussion in jBPM at Community