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

Felix Wassmer commented on ARIES-1690:
--------------------------------------

I've added some itests and found an issue with the current implementation, 
which I also fixed:
https://github.com/apache/aries/pull/74

> 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)

Reply via email to