Issue Details (XML | Word | Printable)

Key: JDO-394
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Michael Bouschen
Reporter: Christian Ernst
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
JDO

org.apache.jdo.tck.api.persistencemanagerfactory.GetPersistenceManager.test() and org.apache.jdo.tck.api.persistencemanagerfactory.GetPersistenceManagerForUser.test() don't close PMF correctly

Created: 18/Jul/06 09:13 AM   Updated: 07/Aug/06 09:16 PM
Return to search
Component/s: tck2
Affects Version/s: JDO 2 final
Fix Version/s: JDO 2 maintenance release 1

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works JDO-394-2.patch 2006-08-06 11:44 AM Michael Bouschen 52 kB
Text File Licensed for inclusion in ASF works JDO-394.patch 2006-07-30 08:06 PM Michael Bouschen 19 kB

Resolution Date: 07/Aug/06 09:16 PM


 Description  « Hide
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();

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.