openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awh...@apache.org
Subject svn commit: r443114 - /incubator/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/XMLPersistenceMetaDataParser.java
Date Wed, 13 Sep 2006 20:35:16 GMT
Author: awhite
Date: Wed Sep 13 13:35:15 2006
New Revision: 443114

URL: http://svn.apache.org/viewvc?view=rev&rev=443114
Log:
target-entity parse fix.


Modified:
    incubator/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/XMLPersistenceMetaDataParser.java

Modified: incubator/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/XMLPersistenceMetaDataParser.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/XMLPersistenceMetaDataParser.java?view=diff&rev=443114&r1=443113&r2=443114
==============================================================================
--- incubator/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/XMLPersistenceMetaDataParser.java
(original)
+++ incubator/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/XMLPersistenceMetaDataParser.java
Wed Sep 13 13:35:15 2006
@@ -1237,7 +1237,7 @@
         throws SAXException {
         String val = attrs.getValue("target-entity");
         if (val != null)
-            fmd.setDeclaredType(classForName(val));
+            fmd.setTypeOverride(classForName(val));
         assertPC(fmd, "OneToOne");
         fmd.setSerialized(false); // override any Lob annotation
         if (!fmd.isDefaultFetchGroupExplicit())
@@ -1251,7 +1251,7 @@
         throws SAXException {
         String val = attrs.getValue("target-entity");
         if (val != null)
-            fmd.setDeclaredType(classForName(val));
+            fmd.setTypeOverride(classForName(val));
         assertPC(fmd, "ManyToOne");
         fmd.setSerialized(false); // override any Lob annotation
         if (!fmd.isDefaultFetchGroupExplicit())



Mime
View raw message