openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwsut...@apache.org
Subject svn commit: r568756 - /openjpa/branches/1.0.0/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/XMLPersistenceMappingParser.java
Date Wed, 22 Aug 2007 21:54:11 GMT
Author: kwsutter
Date: Wed Aug 22 14:54:11 2007
New Revision: 568756

URL: http://svn.apache.org/viewvc?rev=568756&view=rev
Log:
OPENJPA-326.  Porting the change for the 1.0.0 branch.

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

Modified: openjpa/branches/1.0.0/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/XMLPersistenceMappingParser.java
URL: http://svn.apache.org/viewvc/openjpa/branches/1.0.0/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/XMLPersistenceMappingParser.java?rev=568756&r1=568755&r2=568756&view=diff
==============================================================================
--- openjpa/branches/1.0.0/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/XMLPersistenceMappingParser.java
(original)
+++ openjpa/branches/1.0.0/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/XMLPersistenceMappingParser.java
Wed Aug 22 14:54:11 2007
@@ -932,6 +932,9 @@
         if (val != null) {
             _discType = Enum.valueOf(DiscriminatorType.class, val);
         }
+        else {
+            _discType = DiscriminatorType.STRING;
+        }
             
 	}
 }



Mime
View raw message