[jboss-user] [JBoss jBPM] - Re: SLSB + JBPM Rollback
AmiraTalbi
do-not-reply at jboss.com
Wed Dec 17 04:51:23 EST 2008
here is my jbpm.cfg.xml config :
<service name="persistence">
| <factory>
| <bean class="org.jbpm.persistence.db.DbPersistenceServiceFactory">
| <field name="isTransactionEnabled"><false /></field>
| <field name="isCurrentSessionEnabled"><true /></field>
| </bean>
| </factory>
| </service>
and hibernate.Cfg
| <?xml version='1.0' encoding='utf-8'?>
|
| <!DOCTYPE hibernate-configuration PUBLIC
| "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
| "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
|
| <hibernate-configuration>
| <session-factory>
|
| <!-- hibernate dialect -->
|
| <!-- JDBC connection properties (end) -->
| <property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
|
| <!-- DataSource properties (begin) -->
| <property name="hibernate.connection.datasource">java:/jbpm</property>
| <!--==== DataSource properties (end) -->
|
| <!-- JTA transaction properties (begin) === -->
| <property name="hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property>
| <property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.JBossTransactionManagerLookup</property>
| <!--==== JTA transaction properties (end) -->
|
| <!-- CMT transaction properties (begin) ===
| <property name="hibernate.transaction.factory_class">org.hibernate.transaction.CMTTransactionFactory</property>
| <property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.JBossTransactionManagerLookup</property>
| ==== CMT transaction properties (end) -->
|
| <!-- logging properties (begin) ===
| <property name="hibernate.show_sql">false</property>
| <property name="hibernate.format_sql">true</property>
| <property name="hibernate.use_sql_comments">true</property>
| ==== logging properties (end) -->
|
|
| </session-factory>
| </hibernate-configuration>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197059#4197059
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197059
More information about the jboss-user
mailing list