You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by pc...@apache.org on 2007/05/04 21:22:52 UTC

svn commit: r535359 - /incubator/openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/META-INF/persistence.xml

Author: pcl
Date: Fri May  4 12:22:50 2007
New Revision: 535359

URL: http://svn.apache.org/viewvc?view=rev&rev=535359
Log:
added clarifying comment to persistence.xml

Modified:
    incubator/openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/META-INF/persistence.xml

Modified: incubator/openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/META-INF/persistence.xml?view=diff&rev=535359&r1=535358&r2=535359
==============================================================================
--- incubator/openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/META-INF/persistence.xml (original)
+++ incubator/openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/META-INF/persistence.xml Fri May  4 12:22:50 2007
@@ -31,9 +31,16 @@
             This needs to be listed because the OpenJPA test framework
             does not provide any other means to incrementally enhance classes
             for particular test cases, and the XML data must be available at
-            enhance time for XML data to get incorporated into PCRegistry
+            enhance time for XML data to get incorporated into PCRegistry.
         -->
         <mapping-file>org/apache/openjpa/persistence/xml/orm.xml</mapping-file>
+        <!--
+            In general, for persistent types that use annotations, you should
+            not list the persistent types here, but rather use the
+            PersistenceTestCase.setUp(Object...) method in your test case's
+            setUp() method, passing the Class objects for your persistent types
+            to that method.
+        -->
         <properties>
             <!--
             These properties are instead passed via System properties