db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Ernst (JIRA)" <j...@apache.org>
Subject [jira] Created: (JDO-394) org.apache.jdo.tck.api.persistencemanagerfactory.GetPersistenceManager.test() and org.apache.jdo.tck.api.persistencemanagerfactory.GetPersistenceManagerForUser.test() don't close PMF correctly
Date Tue, 18 Jul 2006 09:13:14 GMT
org.apache.jdo.tck.api.persistencemanagerfactory.GetPersistenceManager.test() and org.apache.jdo.tck.api.persistencemanagerfactory.GetPersistenceManagerForUser.test()
don't close PMF correctly
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: JDO-394
                 URL: http://issues.apache.org/jira/browse/JDO-394
             Project: JDO
          Issue Type: Bug
          Components: tck20
    Affects Versions: JDO 2 final
            Reporter: Christian Ernst
            Priority: Minor


org.apache.jdo.tck.api.persistencemanagerfactory.GetPersistenceManager.test() and 
org.apache.jdo.tck.api.persistencemanagerfactory.GetPersistenceManagerForUser.test() 
don't close PMF correctly and this can cause other Testcases to fail 

Following should be added to the finally block of each test()  Method

if (pmf != null) pmf.close(); 

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

        

Mime
View raw message