[seam-issues] [JBoss JIRA] Created: (JBSEAM-4737) Change default persistence service configuration for jBPM
Martin Putz (JIRA)
jira-events at lists.jboss.org
Thu Dec 2 05:01:05 EST 2010
Change default persistence service configuration for jBPM
---------------------------------------------------------
Key: JBSEAM-4737
URL: https://jira.jboss.org/browse/JBSEAM-4737
Project: Seam
Issue Type: Task
Components: BPM
Affects Versions: 2.2.1.CR2
Reporter: Martin Putz
With the newer jBPM jars, it is recommended to use the following configuration for the persistence service:
<service name="persistence">
<factory>
<bean class="org.jbpm.persistence.jta.JtaDbPersistenceServiceFactory">
<property name="currentSessionEnabled"><false /></property>
</bean>
</factory>
</service>
With JtaDbPersistenceService, transactions are disabled by default, the "current" Hibernate session is enabled, the JTA transaction status is queried directly, and reported correctly to jBPM components such as GraphElement.isAbleToHandleExceptions.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list