db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Bouschen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JDO-380) Missing pm.close() in GetPersistenceManagerFactory
Date Fri, 19 May 2006 12:42:30 GMT
     [ http://issues.apache.org/jira/browse/JDO-380?page=all ]

Michael Bouschen updated JDO-380:
---------------------------------

    Fix Version: JDO 2 maintenance release 1
        Version: JDO 2 final
      Assign To: Michael Bouschen

I agree, the pm should be closed at the end of the test. 

I propose to change GetPersistenceManagerFactory in package tck.api.persistencemanager and
use method getPM to retrieve a pm. It stores the pm in an instance variable and the tearDown
method automatically closes the pm at the end of the test.


> Missing pm.close() in GetPersistenceManagerFactory
> --------------------------------------------------
>
>          Key: JDO-380
>          URL: http://issues.apache.org/jira/browse/JDO-380
>      Project: JDO
>         Type: Bug

>   Components: tck20
>     Versions: JDO 2 final
>     Reporter: Ilan Kirsh
>     Assignee: Michael Bouschen
>      Fix For: JDO 2 maintenance release 1

>
> I suspect that  pm.close() is missing at the end of method testGetPersistenceManagerFactory().

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