Announcement Announcement Module
Collapse
No announcement yet.
Can we use HibernateTransactionManager on Websphere application server Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can we use HibernateTransactionManager on Websphere application server

    Hi,

    I am using the below configuration on Tomcat server. Can I use the same configuration (Transaction Manager) on websphere application server. I found that people suggested using WebSphereUowTransactionManager. Can somebody please explain me why should we use WebSphereUowTransactionManager instead of HibernateTransactionManager.

    Thanks
    -Lisa

    <!-- ********** Transaction Manager ********** -->
    <bean id="mdmTransactionManager"
    class="org.springframework.orm.hibernate3.Hibernat eTransactionManager">
    <property name="sessionFactory">
    <ref local="mdmSessionFactory" />
    </property>
    </bean>


    <!-- ************* DAO Service *************** -->
    <bean id="mdmDaoService"
    class="org.springframework.transaction.interceptor .TransactionProxyFactoryBean"
    lazy-init="true">
    <property name="transactionManager">
    <ref local="mdmTransactionManager" />
    </property>
    <property name="target">
    <ref bean="mdmDaoServiceTarget" />
    </property>
    <property name="transactionAttributes">
    <props>
    <prop key="*">PROPAGATION_REQUIRED</prop>
    </props>
    </property>
    </bean>
Working...
X