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

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > May 2006 > [jira] Updated: (JDO-380) Missing pm.close() in





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Updated: (JDO-380) Missing pm.close() in
Michael Bouschen (JIRA)

2006-05-19, 1:11 pm

[ 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/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com