Did some reading, this is what I found:
-
http://docs.jboss.org/ejb3/app-server/H ... ansactions
Quote:
Note that you should choose org.hibernate.transaction.JTATransactionFactory in a BMT session bean, and org.hibernate.transaction.CMTTransactionFactory in a CMT session bean, when you configure Hibernate's transaction factory. Remember to also set org.hibernate.transaction.manager_lookup_class.
-
http://www.hibernate.org/hib_docs/v3/re ... figurationQuote:
hibernate.transaction.flush_before_completion If enabled, the session will be automatically flushed during the before completion phase of the transaction. (Very useful when using Hibernate with CMT.)
eg. true | false
hibernate.transaction.auto_close_session If enabled, the session will be automatically closed during the after completion phase of the transaction. (Very useful when using Hibernate with CMT.)
eg. true | false