[jboss-user] [JBoss jBPM] - Re: db connection leak some advice please

alex.guizar@jboss.com do-not-reply at jboss.com
Thu Feb 1 19:07:54 EST 2007


why is the following setting commented?

<!--    
  |     <property name="hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property>
  | -->

You should not have to change the default connection release mode because your chosen TransactionFactory class already specifies the most appropriate mode.

Flushing before completion and auto-closing the session are not recommended because jBPM flushes and closes the session for you.

Hope this helps.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009755#4009755

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009755



More information about the jboss-user mailing list