[
https://issues.apache.org/jira/browse/IGNITE-4763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15986199#comment-15986199
]
ASF GitHub Bot commented on IGNITE-4763:
----------------------------------------
GitHub user NSAmelchev opened a pull request:
https://github.com/apache/ignite/pull/1879
IGNITE-4763
doSetRollbackOnly method to be implemented in SpringTransactionManager
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/NSAmelchev/ignite IGNITE-4763
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/1879.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1879
----
commit bca9756cc4fbe3e89fbc29453d94619d2f90c95b
Author: NSAmelchev <[email protected]>
Date: 2017-02-07T14:04:02Z
Merge remote-tracking branch 'refs/remotes/apache/master'
commit fc8ed83579ee9781061490041c0cce553c9a4025
Author: NSAmelchev <[email protected]>
Date: 2017-03-27T12:45:44Z
Merge remote-tracking branch 'refs/remotes/apache/master'
commit 1c7493cbb5de000f1c131745c90b93d7b57d4d50
Author: NSAmelchev <[email protected]>
Date: 2017-04-04T09:50:52Z
Merge remote-tracking branch 'refs/remotes/apache/master'
commit 91703d9004a4f68bfd2ca694c93b6c3b2fb45101
Author: NSAmelchev <[email protected]>
Date: 2017-04-17T12:06:48Z
Merge remote-tracking branch 'refs/remotes/apache/master'
commit 7e0e55e52812d605cde570ca5b50c5764d69e0fb
Author: NSAmelchev <[email protected]>
Date: 2017-04-25T09:27:33Z
Merge remote-tracking branch 'refs/remotes/apache/master'
commit b1c09e34d6fa9980ccbdc144de36f485ba518e7f
Author: NSAmelchev <[email protected]>
Date: 2017-04-26T13:17:19Z
doSetRollbackOnly method to be implemented in the SpringTransactionManager
commit 62fe1e9dee40e5d5eee2695ed9a4f0f54e1ccc10
Author: NSAmelchev <[email protected]>
Date: 2017-04-27T08:24:19Z
Refactoring
commit 06b55cbf15f56e31cfd6ed9bf42ebfc8caae03a8
Author: NSAmelchev <[email protected]>
Date: 2017-04-27T08:34:44Z
one-line javadoc
commit 827a28cba5f0f15e27daacb35f0106f420e92379
Author: NSAmelchev <[email protected]>
Date: 2017-04-27T08:36:17Z
one-line javadoc doSetRollbackOnly
----
> 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: ignite-spring
> Affects Versions: 1.8
> Reporter: Sumanta Ghosh
> Assignee: Amelchev Nikita
> Labels: newbie, patch
>
> 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)