You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Michael Bouschen (JIRA)" <ji...@apache.org> on 2006/05/19 14:42:30 UTC

[jira] Updated: (JDO-380) Missing pm.close() in GetPersistenceManagerFactory

     [ 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