ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nvp152 <nicolaspujo...@gmail.com>
Subject Re: SpringTransactionManager - Participating in existing transactions is not supported
Date Thu, 25 Aug 2016 15:29:00 GMT
I tried patching SpringTransactionManager and implement doSetRollbackOnly()
and it works for me.
Does this look right for a doSetRollbackOnly() impl? If so it probably would
make sense to contribute to the main code base:

....

    @Override protected void doSetRollbackOnly(DefaultTransactionStatus
status) {
        IgniteTransactionObject txObj =
(IgniteTransactionObject)status.getTransaction();
        txObj.getTransactionHolder().setRollbackOnly();
    }

...



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/SpringTransactionManager-Participating-in-existing-transactions-is-not-supported-tp7305p7311.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message