1 2 Previous Next 15 Replies Latest reply on Apr 22, 2009 9:57 PM by Dan Allen

    How to hide Transaction Failed message?

    Marcos Sousa Newbie

      Hello Community,

      I have Spring 2.5 and seam 2.0.2 working together in the same project. I'm having some troubles with transaction. When a spring method throws a rollback transaction, seam add a Transaction Failed message to JSF messages.

      My components.xml looks like:

       <core:init transaction-management-enabled="true" debug="false"/>
      <spring:spring-transaction platform-transaction-manager="#{transactionManager}"/>

      And my Spring transaction configs look like:

      <bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager"/>
      <tx:annotation-driven proxy-target-class="false" mode="proxy"/>

      Is there anything that I can do?

      ps: I can't set proxy-target-class to true because some transactions doesn't rollback fine!

        1 2 Previous Next