You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Doroszlai, Attila (JIRA)" <ji...@apache.org> on 2016/11/22 08:05:59 UTC
[jira] [Updated] (AMBARI-18956) Ambari attempts to commit
transactions marked as rollback-only
[ https://issues.apache.org/jira/browse/AMBARI-18956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doroszlai, Attila updated AMBARI-18956:
---------------------------------------
Attachment: AMBARI-18956.patch
> Ambari attempts to commit transactions marked as rollback-only
> --------------------------------------------------------------
>
> Key: AMBARI-18956
> URL: https://issues.apache.org/jira/browse/AMBARI-18956
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.4.0
> Reporter: Doroszlai, Attila
> Assignee: Doroszlai, Attila
> Priority: Minor
> Fix For: 3.0.0
>
> Attachments: AMBARI-18956.patch
>
>
> {{EntityTransaction}} may be marked [rollback-only|http://docs.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html#setRollbackOnly()] due to exception. If {{@Transactional}} is not marked to {{rollbackOn()}} such exception, Ambari still attempts to commit the transaction. The end result for the transaction is the same (rollback), but instead of the original exception a {{RollbackException}} is reported, so information is lost.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)