You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/04/06 09:21:41 UTC

[jira] [Commented] (ARIES-1690) Ignored rollbackOn element of Transactional annotation

    [ https://issues.apache.org/jira/browse/ARIES-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15958634#comment-15958634 ] 

ASF GitHub Bot commented on ARIES-1690:
---------------------------------------

GitHub user fwassmer opened a pull request:

    https://github.com/apache/aries/pull/72

    ARIES-1690: Add Transactional dontRollbackOn/rollbackOn evaluation

    Implemented dontRollbackOn/rollbackOn element evaluation for Transactional annotation.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/fwassmer/aries trunk

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/aries/pull/72.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 #72
    
----
commit 8298d1b493c932705fe0b0d9f61f5887f576f511
Author: Felix Wassmer <fe...@traxpay.com>
Date:   2017-04-05T16:39:18Z

    ARIES-1690: Add Transactional dontRollbackOn/rollbackOn evaluation

----


> Ignored rollbackOn element of Transactional annotation
> ------------------------------------------------------
>
>                 Key: ARIES-1690
>                 URL: https://issues.apache.org/jira/browse/ARIES-1690
>             Project: Aries
>          Issue Type: Bug
>          Components: Transaction
>            Reporter: Kevin Vanbockryck
>
> Here is a simple example-method, when I use this the document ends up in the database.
>   @Transactional(value = Transactional.TxType.REQUIRED
>             ,rollbackOn = {Exception.class}
>     )
>     public void store(Document document) throws Exception {
>         entityManager.persist(document);
>         throw new Exception();    
>     }



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)