[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4721) Error in AuditSync.beforeCompletion() does not result in faillure of JDBCTransaction

Adam Warski (JIRA) noreply at atlassian.com
Wed Mar 10 05:41:47 EST 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35778#action_35778 ] 

Adam Warski commented on HHH-4721:
----------------------------------

The transaction should be rolled back - see AuditSync.beforeCompletion, line 168. Isn't this happening?

> Error in AuditSync.beforeCompletion() does not result in faillure of JDBCTransaction
> ------------------------------------------------------------------------------------
>
>                 Key: HHH-4721
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4721
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: envers
>    Affects Versions: 3.3.2
>         Environment: Hibernate 3.3.2, Envers 1.2.2, JDBCTransaction
>            Reporter: Volker Schmidt
>         Attachments: sample.jar
>
>
> When AuditSync.beforeCompletion() throws an error (for example because of a non-existing database table), the JDBCTransaction class of hibernate just logs the thrown exception. It does neither rethrow the exception nor stop the current processing. The rest of the application is not aware of the failed action.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list