[hibernate-issues] [Hibernate-JIRA] Resolved: (EJB-407) Some tests are not closing the EM or finishing transactions
Juraci Paixao Krohling (JIRA)
noreply at atlassian.com
Tue Apr 21 07:48:17 EDT 2009
[ http://opensource.atlassian.com/projects/hibernate/browse/EJB-407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juraci Paixao Krohling resolved EJB-407.
----------------------------------------
Resolution: Fixed
Revisions 16373 and 16374.
> Some tests are not closing the EM or finishing transactions
> -----------------------------------------------------------
>
> Key: EJB-407
> URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-407
> Project: Hibernate Entity Manager
> Issue Type: Bug
> Components: EntityManager
> Reporter: Juraci Paixao Krohling
> Assignee: Juraci Paixao Krohling
> Attachments: UnclosedEM-UnfinishedTransactions.diff, UnclosedEM-UnfinishedTransactions.v3_3_2_GA_CP.diff, UnclosedEM-UnfinishedTransactions.v3_4_0_GA_CP.diff
>
>
> The below tests are not closing the EM or not finishing transactions (committing/rolling back), causing the test to hang indefinitely when the EM tries to drop the database entities after the test finishes:
> org/hibernate/ejb/test/callbacks/CallbacksTest.java
> org/hibernate/ejb/test/emops/FlushTest.java
> org/hibernate/ejb/test/lock/LockTest.java
> org/hibernate/ejb/test/exception/ExceptionTest.java
> org/hibernate/ejb/test/transaction/FlushAndTransactionTest.java
> The attached patch closes the EM and/or rolls back the unfinished transaction.
--
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