ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaybytez <jayby...@gmail.com>
Subject Re: Failed transaction commits half of transaction
Date Mon, 26 Jun 2006 22:54:07 GMT

I made the following changes and it appears to have fixed the issue:

    <settings cacheModelsEnabled="true" enhancementEnabled="true"
        lazyLoadingEnabled="true" errorTracingEnabled="false"
        maxRequests="32" maxSessions="10"
        maxTransactions="5" useStatementNamespaces="false" />

    <transactionManager type="EXTERNAL" commitRequired="true">
        <property name="DefaultAutoCommit" value="false"/>
        <property name="SetAutoCommitAllowed" value="false"/> 
        <dataSource type="JNDI">
            <property name="DataSource" value="${fooDbPool.JNDIName}" />

    <!-- Identify all SQL Map XML files to be loaded by this
        SQL map.  Notice the paths are relative to the classpath. -->
    <sqlMap resource="ibatis/mappings/foo/ProviderFacilityDAO.xml" />
    <sqlMap resource="ibatis/mappings/foo/ProviderZipCodeRegionsDAO.xml" />


Now my distributed transaction is properly working between the three


View this message in context: http://www.nabble.com/Failed-transaction-commits-half-of-transaction-t1851138.html#a5056529
Sent from the iBATIS - User - Java forum at Nabble.com.

View raw message