openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mik...@apache.org
Subject svn commit: r568403 - /openjpa/trunk/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/XMLPersistenceMappingParser.java
Date Wed, 22 Aug 2007 04:01:08 GMT
Author: mikedd
Date: Tue Aug 21 21:01:07 2007
New Revision: 568403

URL: http://svn.apache.org/viewvc?rev=568403&view=rev
Log:
OPENJPA-326 Initialize discType

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/XMLPersistenceMappingParser.java

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/XMLPersistenceMappingParser.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/XMLPersistenceMappingParser.java?rev=568403&r1=568402&r2=568403&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/XMLPersistenceMappingParser.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/XMLPersistenceMappingParser.java
Tue Aug 21 21:01:07 2007
@@ -932,6 +932,9 @@
         if (val != null) {
             _discType = Enum.valueOf(DiscriminatorType.class, val);
         }
+        else {
+            _discType = DiscriminatorType.STRING;
+        }
             
 	}
 }



Mime
View raw message