using the tx datasource, try to deploy the session factory with the following 
properties : 


  | hibernate.transaction.flush_before_completion=true
  | hibernate.transaction.auto_close_session=true
  | 
hibernate.transaction.factory_class=org.hibernate.transaction.JTATransactionFactory
  | 
hibernate.transaction.manager_lookup_classrg.hibernate.transaction.JBossTransactionManagerLookup
  | 

the goal is that the hibernate transaction wrapper should not commit the 
underlying JTA transaction and should flush its data when the JTA tx commits.


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

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


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to