You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by dw...@apache.org on 2010/10/13 17:10:52 UTC
svn commit: r1022130 -
/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/SingleEMFTestCase.java
Author: dwoods
Date: Wed Oct 13 15:10:52 2010
New Revision: 1022130
URL: http://svn.apache.org/viewvc?rev=1022130&view=rev
Log:
add note about how created EMFs are handled
Modified:
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/SingleEMFTestCase.java
Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/SingleEMFTestCase.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/SingleEMFTestCase.java?rev=1022130&r1=1022129&r2=1022130&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/SingleEMFTestCase.java (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/SingleEMFTestCase.java Wed Oct 13 15:10:52 2010
@@ -59,6 +59,8 @@ public abstract class SingleEMFTestCase
* Initialize entity manager factory. Put {@link #CLEAR_TABLES} in
* this list to tell the test framework to delete all table contents
* before running the tests.
+ * NOTE: The EMF and any EMs will be closed in tearDown(),
+ * but any user created EMFs need to be manually closed.
*
* @param props list of persistent types used in testing and/or
* configuration values in the form key,value,key,value...