Doroszlai, Attila created AMBARI-18956:
------------------------------------------

             Summary: 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


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

Reply via email to