[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-778) Test hangs if an exception is thrown, due to unclosed transaction

Gail Badner (JIRA) noreply at atlassian.com
Tue Mar 31 18:03:38 EDT 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/ANN-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32762#action_32762 ] 

Gail Badner commented on ANN-778:
---------------------------------

https://jira.jboss.org/jira/browse/JBPAPP-1852

> Test hangs if an exception is thrown, due to unclosed transaction
> -----------------------------------------------------------------
>
>                 Key: ANN-778
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-778
>             Project: Hibernate Annotations
>          Issue Type: Patch
>         Environment: Annotations from trunk on DB2 v91
>            Reporter: Juraci Paixao Krohling
>            Assignee: Juraci Paixao Krohling
>         Attachments: ANN-778.diff, ANN-778_Fixed.diff
>
>
> The test EmbeddedGenericsTest#testWorksWithGenericCollectionOfElements fails on DB2 v91, and the transaction which was started in the "setup" method blocks the execution of any other SQL Statement sent to the server. Thus, the tests needs to be enclosed by a try/catch to issue a rollback in case of failure. 

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