openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwsut...@apache.org
Subject svn commit: r620200 - /openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/META-INF/listener-orm.xml
Date Sat, 09 Feb 2008 20:53:52 GMT
Author: kwsutter
Date: Sat Feb  9 12:53:49 2008
New Revision: 620200

URL: http://svn.apache.org/viewvc?rev=620200&view=rev
Log:
OPENJPA-513.  Three of the four test failures with the IBM JDK were due to a malformed listener-orm.xml
file.  XML elements were out of order and there were a couple of syntax errors.

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

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/META-INF/listener-orm.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/META-INF/listener-orm.xml?rev=620200&r1=620199&r2=620200&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/META-INF/listener-orm.xml (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/resources/META-INF/listener-orm.xml Sat
Feb  9 12:53:49 2008
@@ -21,16 +21,17 @@
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm orm_1_0.xsd"
     version="1.0">
-    <package>org.apache.openjpa.persistence.callbacks</package>
-    <entity class="EntityListenerEntity">
-        <exclude-default-listeners>true</exclude-default-listeners>
-    </entity>
     <persistence-unit-metadata>
         <persistence-unit-defaults>
             <entity-listeners>
-                <entity-listener class="ListenerImpl">
+                <entity-listener class=
+                	"org.apache.openjpa.persistence.callbacks.ListenerImpl">
                 </entity-listener>
             </entity-listeners>
         </persistence-unit-defaults>
     </persistence-unit-metadata>
+    <package>org.apache.openjpa.persistence.callbacks</package>
+    <entity class="EntityListenerEntity">
+        <exclude-default-listeners/>
+    </entity>
 </entity-mappings>



Mime
View raw message