From 071a9abbbbf852ddd8fbba083d2b139e4b340dc4 Mon Sep 17 00:00:00 2001 From: Michael Dick Date: Wed, 22 Aug 2007 04:01:07 +0000 Subject: [PATCH] OPENJPA-326 Initialize discType git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@568403 13f79535-47bb-0310-9956-ffa450edef68 --- .../openjpa/persistence/jdbc/XMLPersistenceMappingParser.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/XMLPersistenceMappingParser.java b/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/XMLPersistenceMappingParser.java index 6b8c132ce..daed50ccb 100644 --- a/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/XMLPersistenceMappingParser.java +++ b/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/XMLPersistenceMappingParser.java @@ -932,6 +932,9 @@ public class XMLPersistenceMappingParser if (val != null) { _discType = Enum.valueOf(DiscriminatorType.class, val); } + else { + _discType = DiscriminatorType.STRING; + } } }