openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fayw...@apache.org
Subject svn commit: r748296 - /openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/xml/TestXmlOverrideEntity.java
Date Thu, 26 Feb 2009 20:51:51 GMT
Author: faywang
Date: Thu Feb 26 20:51:51 2009
New Revision: 748296

URL: http://svn.apache.org/viewvc?rev=748296&view=rev
Log:
OPENJPA-930: fix test case error caused by  
TestAttrOverridesXml

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/xml/TestXmlOverrideEntity.java

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/xml/TestXmlOverrideEntity.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/xml/TestXmlOverrideEntity.java?rev=748296&r1=748295&r2=748296&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/xml/TestXmlOverrideEntity.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/xml/TestXmlOverrideEntity.java
Thu Feb 26 20:51:51 2009
@@ -57,10 +57,10 @@
     }
 
     public void testOverriddenEntityName() {
+        emf.createEntityManager().close();
         ClassMetaData meta = JPAFacadeHelper.getMetaData(emf,
             XmlOverrideEntity.class);
         assertEquals("XmlOverride", meta.getTypeAlias());
-        emf.createEntityManager().close();
         MetaDataRepository repo = emf.getConfiguration()
             .getMetaDataRepositoryInstance();
         assertEquals(meta, repo.getMetaData("XmlOverride",



Mime
View raw message