in the enterprise.ear, the configurations are packaged in a separate jar file called
jbpm-configs.jar
these are the relevant properties in the hibernate.cfg.xml
<property
name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property>
| <property
name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
| <property
name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.JBossTransactionManagerLookup</property>
| <property
name="hibernate.connection.datasource">java:/JbpmDS</property>
| <property
name="hibernate.transaction.factory_class">org.hibernate.transaction.CMTTransactionFactory</property>
| <property
name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.JBossTransactionManagerLookup</property>
|
and this is the jbpm.cfg.xml part of the persistence/tx configs
<service name="persistence">
| <factory>
| <bean
class="org.jbpm.persistence.db.DbPersistenceServiceFactory">
| <field name="isCurrentSessionEnabled">
| <true />
| </field>
| <field name="isTransactionEnabled">
| <false />
| </field>
| </bean>
| </factory>
| </service>
|
if you change to JTA, you might need to set the isTransactionEnabled property to true. i
don't know these configs at all. i'll check the docs and get back if i find
anything there.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003167#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...