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/05/23 12:15:04 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=16021114#comment-16021114 ]
ASF GitHub Bot commented on ARIES-1690:
---------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/aries/pull/72
> 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)