[ https://issues.apache.org/jira/browse/IGNITE-4763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16019574#comment-16019574 ]
Andrey Gura commented on IGNITE-4763: ------------------------------------- Nikita, your changes are merged into master branch. Thanks a lot! > doSetRollbackOnly method to be implemented in SpringTransactionManager > ---------------------------------------------------------------------- > > Key: IGNITE-4763 > URL: https://issues.apache.org/jira/browse/IGNITE-4763 > Project: Ignite > Issue Type: Bug > Components: spring > Affects Versions: 1.8 > Reporter: Sumanta Ghosh > Assignee: Amelchev Nikita > Labels: newbie, patch > Fix For: 2.1 > > > This issue is raised in continuation with the message posted in ignite user > forum > (http://apache-ignite-users.70518.x6.nabble.com/SpringTransactionManager-Participating-in-existing-transactions-is-not-supported-td7305.html#a10624). > Since the doSetRollBackOnly method is not implemented in > SpringTransactionManager, it is not being possible to integrate with spring > data's ChainedTransactionManager class. A simple fix (below) would work it > seems (however, I did not yet tested with proper rollback test cases though, > this implementation at least get rid of the exception chainedtransaction > manager raises) > @Override > protected void doSetRollbackOnly(DefaultTransactionStatus status) > throws TransactionException { > Transaction txn = > ((Ignite)this.getResourceFactory()).transactions().tx(); > if (txn!=null) txn.setRollbackOnly(); > } > NOTE: This is the first time I am raising issues in apache. So, apologies if > all the details are not proper. -- This message was sent by Atlassian JIRA (v6.3.15#6346)