4 Replies Latest reply on Jul 27, 2012 5:29 AM by Andrea Carpineti

    JBPM5.3 installer persitence.xml transaction manager

    Prabakar Singaram Newbie

      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,